Type Details
- yfiles module
- layout-radial
- yfiles-umd modules
- layout-radial, layout-hierarchic, layout-tree, layout
- Legacy UMD name
- yfiles.radial.LayeringStrategy
See Also
Constants
Specifier for a layering strategy that uses breadth first search (BFS) to determine a layering for the graph.
Remarks
See Also
Sample Graphs
Specifier for a layering strategy using a dendrogram layering strategy.
Remarks
Leaf nodes in tree graphs or nodes without neighbors further away from the center in general graphs are placed on the outermost circle. Nodes on inner circles are moved as far away from the center as possible but are placed before their neighbors on the outer circles.
Dendrogram layering is recommended to be used for tree graphs. Parallel edges and same-layer edges are supported rudimentary.
See Also
Sample Graphs
Specifier for a layering strategy that uses an optimal hierarchical layering strategy.
Remarks
See Also
Sample Graphs
Specifier for a layering strategy that uses a custom, user-defined layer/circle assignment.
Remarks
The nodes' layer/circle assignment must be provided by a IDataProvider registered with the input graph with the key LAYER_ID_DP_KEY. If no data is provided and this strategy is selected, then the algorithm will throw an exception.
Using this strategy, the center nodes (nodes on the innermost circle) are not determined by the specified center nodes policy anymore. Instead, the nodes with the smallest given ID (i.e. 0
) are part of the center nodes.
See Also
Static Methods
Converts the argument to RadialLayoutLayeringStrategy.
Parameters
A map of options to pass to the method.
- value - RadialLayoutLayeringStrategy
- The value to convert to RadialLayoutLayeringStrategy.
Returns
- ↪RadialLayoutLayeringStrategy
- Either
value
if it is already a RadialLayoutLayeringStrategy or an appropriate converted value.