Dendrogram
Reading needs 1 minutes
Dendrogram layout is characterized by placing all child nodes on the same level, regardless of node size, with each node treated as 1px in size. It is suitable for representing hierarchical clustering.
'LR' | 'RL' | 'TB' | 'BT' | 'H' | 'V' Default:
'LR'
Tree Layout Direction
'TB'
: The root node is at the top, with the layout oriented downwards'BT'
: The root node is at the bottom, with the layout oriented upwards'LR'
: The root node is on the left, with the layout oriented to the right'RL'
: The root node is on the right, with the layout oriented to the left'H'
: The root node is in the center, with a horizontally symmetrical layout'V'
: The root node is in the center, with a vertically symmetrical layoutNumber Default:
20
Node spacing
Number Default:
200
The spacing between layers
Boolean
Whether to use a radial layout. If radial
is set to true
, it is recommended to set direction
to 'LR'
or 'RL'
.