mirror of
https://gitee.com/antv/g6.git
synced 2024-12-15 10:01:09 +08:00
621 B
621 B
title | order |
---|---|
Mindmap | 2 |
The nodes with same depth will be placed on the same level. Difference from compactBox, Mindmap will not consider the node size.
Usage
Mindmap is an appropriate layout method for tree data structure. Please use it with TreeGraph. 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.