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

NameDescriptionType
alignDegreeOneNodes?
boolean
chainSize?
number
chainStyle?
“none”
| “straight”
| “wrapped-with-nodes-at-turns”
| “wrapped-with-bends-at-turns”
componentLayoutEnabled?
boolean
considerNodeLabels?
boolean
crossingReduction?
boolean
cycleSize?
number
cycleStyle?
“none”
| “circular-with-nodes-at-corners”
| “circular-with-bends-at-corners”
edgeLayoutDescriptor?
OrthogonalLayoutEdgeLayoutDescriptor
edgeLengthReduction?
boolean
faceMaximization?
boolean
fromSketchMode?
boolean
gridSpacing?
number
hideGroupsStageEnabled?
boolean
integratedEdgeLabeling?
boolean
labelingEnabled?
boolean
layoutOrientation?
“top-to-bottom”
| “left-to-right”
| “right-to-left”
| “bottom-to-top”
layoutStyle?
“normal”
| “uniform”
| “box”
| “mixed”
| “fixed-mixed”
| “fixed-box”
maximumDuration?
number
optimizePerceivedBends?
boolean
orientationLayoutEnabled?
boolean
parallelEdgeRouterEnabled?
boolean
preferParallelRoutes?
boolean
randomization?
boolean
selfLoopRouterEnabled?
boolean
subgraphLayoutEnabled?
boolean
treeOrientation?
“top-to-bottom”
| “bottom-to-top”
| “left-to-right”
| “right-to-left”
| “auto-detect”
treeSize?
number
treeStyle?
“none”
| “default”
| “integrated”
| “compact”
| “aspect-ratio”
uniformPortAssignment?
boolean