OrthogonalLayoutOptions

The configuration options for the Orthogonal layout algorithm that arranges graphs in an orthogonal fashion.

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

Props

NameType
alignDegreeOneNodes?
boolean
chainSubstructureSize?
number
chainSubstructureStyle?
“none”
| “straight”
| “wrapped-with-nodes-at-turns”
| “wrapped-with-bends-at-turns”
cycleSubstructureSize?
number
cycleSubstructureStyle?
“none”
| “circular”
| “circular-with-nodes-at-corners”
| “circular-with-bends-at-corners”
defaultEdgeDescriptor?
OrthogonalLayoutEdgeDescriptor
edgeLabelPlacement?
“generic”
| “ignore”
| “integrated”
fromSketchMode?
boolean
gridSpacing?
number
layoutOrientation?
“top-to-bottom”
| “left-to-right”
| “right-to-left”
| “bottom-to-top”
nodeLabelPlacement?
“consider”
| “generic”
| “ignore”
preferParallelRoutes?
boolean
stopDuration?
number
treeSubstructureOrientation?
“top-to-bottom”
| “bottom-to-top”
| “left-to-right”
| “right-to-left”
| “auto-detect”
treeSubstructureSize?
number
treeSubstructureStyle?
“none”
| “default”
| “integrated”
| “compact”
| “aspect-ratio”
uniformPortAssignment?
boolean