Type Details
- yfiles module
- layout-orthogonal
- yfiles-umd modules
- layout-orthogonal-compact, layout-orthogonal, layout
- Legacy UMD name
- yfiles.orthogonal.LayoutStyle
See Also
Constants
A layout style that modifies the size of nodes to minimize the overall number of bends.
Remarks
The layout algorithm will enlarge nodes based on the number and position of their neighbors in order to minimize the number of required bends. The segments of all edges are either horizontal or vertical.
See Also
Sample Graphs
A layout style similar to BOX that maintains the original node size.
Remarks
Nodes will be placed at the same positions as with FIXED_MIXED, but edges will be routed strictly orthogonally.
See Also
Sample Graphs
A layout style similar to MIXED that maintains the original node size.
Remarks
This style introduces additional bends into some edges and routes the last edge segment of these edges non-orthogonally to their adjacent nodes.
See Also
Sample Graphs
A layout style that produces non-orthogonal edges and resizes the nodes to a small uniform size.
Remarks
This layout style resembles BOX, but it resizes all nodes to equal size.
It introduces additional bends into some edges and routes the last edge segment of these edges non-orthogonally to their adjacent nodes.
See Also
Sample Graphs
A layout style that produces orthogonal edges while maintaining the original node size.
A layout style that produces orthogonal edges and nodes of uniform size.
Remarks
Before calculating the layout, all nodes will be assigned equal sizes.
See Also
Sample Graphs
Static Methods
Converts the argument to OrthogonalLayoutStyle.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- value - OrthogonalLayoutStyle
- The value to convert to OrthogonalLayoutStyle.
Returns
- ↪OrthogonalLayoutStyle
- Either
value
if it is already a OrthogonalLayoutStyle or an appropriate converted value.