mirror of
https://gitee.com/antv/g6.git
synced 2024-12-15 18:11:08 +08:00
e08c299a69
* docs: remove readme and navigation in site * docs: remove v4 core concept docs * docs: update history and lod plugin docs * chore: update dumirc config * docs: add api shape overview doc * docs: update manual docs * docs: update manual and tutorial docs * chore: update dumirc * docs: remove design sector * docs: update docs meta data * docs: update api docs
586 B
586 B
title | order |
---|---|
CompactBox | 3 |
The nodes with the same depth will be layed on the same level. The node size will be considred while doing layout.
Usage
CompactBox is an appropriate layout method for tree data structure. As the demo below, you can deploy it in layout
while instantiating Graph.
You can set different configurations for different nodes if the parameter is Function type. Please refer to the ducuments for more information.