g6/packages/site/examples/net/compactBox/index.en.md
Aaron e08c299a69
docs: update v5 site docs (#5162)
* 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
2023-11-20 09:50:36 +08:00

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.
compactbox

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.