g6/packages/site/examples/net/concentricLayout/index.en.md

11 lines
440 B
Markdown
Raw Normal View History

2023-02-02 10:31:36 +08:00
---
title: Concentric Layout
order: 6
---
Concentric Layout places the nodes on concentric circles.
## Usage
As the demo below, you can deploy it in `layout` while instantiating Graph. it can also be used for [Subgraph Layout](/en/docs/manual/middle/layout/sub-layout). This algorithm will order the nodes according to the parameters first, then the node in the front of the order will be placed on the center of the concentric circles.