HierarchicLayoutOptions

The configuration options for the hierarchic layout algorithm that arranges graphs in a hierarchic fashion.

For more information on the layout algorithm and its available settings, see HierarchicLayout.

Props

NameDescriptionType
automaticEdgeGrouping?
boolean
backLoopRouting?
boolean
backLoopRoutingForSelfLoops?
boolean
compactGroups?
boolean
componentArrangementPolicy?
“compact” | “topmost”
componentLayoutEnabled?
boolean
considerNodeLabels?
boolean
edgeLayoutDescriptor?
HierarchicLayoutEdgeLayoutDescriptor
edgeToEdgeDistance?
number
fromScratchLayeringStrategy?
“hierarchical-topmost”
| “hierarchical-optimal”
| “hierarchical-tight-tree”
| “hierarchical-downshift”
| “bfs”
| “from-sketch”
| “user-defined”
| “unknown”
gridSpacing?
number
groupAlignmentPolicy?
“top” | “center” | “bottom”
hideGroupsStageEnabled?
boolean
integratedEdgeLabeling?
boolean
labelingEnabled?
boolean
layoutMode?
“incremental”
| “from-scratch”
layoutOrientation?
“top-to-bottom”
| “left-to-right”
| “right-to-left”
| “bottom-to-top”
maximumDuration?
number
minimumLayerDistance?
number
nodeLayoutDescriptor?
HierarchicLayoutNodeLayoutDescriptor
nodeToEdgeDistance?
number
nodeToNodeDistance?
number
orientationLayoutEnabled?
boolean
orthogonalRouting?
boolean
parallelEdgeRouterEnabled?
boolean
recursiveGroupLayering?
boolean
selfLoopRouterEnabled?
boolean
separateLayers?
boolean
stopAfterLayering?
boolean
stopAfterSequencing?
boolean
subgraphLayoutEnabled?
boolean