This function creates a configuration list for G6 Dendrogram layout with all available options as parameters.
dendrogram_layout(
direction = c("LR", "RL", "TB", "BT", "H", "V"),
nodeSep = 20,
rankSep = 200,
radial = FALSE,
...
)
A list containing the configuration for G6 dendrogram layout.
Character. Layout direction. Options: "LR", "RL", "TB", "BT", "H", "V". Defaults to "LR".
Numeric. Node spacing, distance between nodes on the same level. Defaults to 20.
Numeric. Rank spacing, distance between different levels. Defaults to 200.
Logical. Whether to enable radial layout. Defaults to FALSE.
Additional parameters to pass to the layout. See https://g6.antv.antgroup.com/en/manual/layout/dendrogram-layout.