Type Details
- yfiles module
- layout-core
- yfiles-umd modules
- All layout modules, view-layout-bridge
- Legacy UMD name
- yfiles.tree.InterleavedMode
See Also
Constants
A child placement mode where nodes are placed in an interleaved fashion, that is, with two different, alternating distances to the parent node.
See Also
Sample Graphs
If there is enough space within the desired child wedge of some node to place all children without using different distances, interleaving will be omitted.
A child placement mode where child nodes of selected nodes are placed in an interleaved fashion, that is, with two different, alternating distances to the parent node.
Remarks
All other nodes are placed without interleaving. The node selection can be specified by registering an appropriate IDataProvider for key INTERLEAVED_NODES_DP_KEY.
See Also
Sample Graphs
If there is enough space within the desired child wedge of a selected node to place all children without using different distances, interleaving will be omitted.
If there is no IDataProvider registered with key INTERLEAVED_NODES_DP_KEY, then the selection of nodes whose children are arranged interleaved will be made based on a simple heuristic.
A child placement mode where all child nodes are placed around their parent with equal distances.
See Also
Sample Graphs
The point to which the distance to the parent is measured may vary depending on the selected alignment policy (e.g. distance to node center or distance to convex hull border).
Static Methods
Converts the argument to InterleavedMode.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- value - InterleavedMode
- The value to convert to InterleavedMode.
Returns
- ↪InterleavedMode
- Either
value
if it is already a InterleavedMode or an appropriate converted value.