Members
Constants
All edges will span at most one layer in the resulting drawing. Edges between nodes that belong to the same layer are possible.
The nodes that will be placed in the first layer can be defined with bfsLayerAssignerCoreNodes. If there are no nodes defined, then nodes that have no incoming edges are placed in the first layer.
Sample Graphs
See Also
Developer's Guide
API
- fromScratchLayeringStrategy
It tries to find a layering that is similar to the one in the input graph. The layout algorithm may place nodes in the same layer, even though they are connected by an edge.
In a vertically oriented layout, nodes that overlap vertically are placed in the same layer. The same holds for a horizontally oriented layout in the case where the nodes overlap horizontally.
See Also
Developer's Guide
API
- fromScratchLayeringStrategy
A layering strategy which applies a fast heuristic that improves the layering done by HIERARCHICAL_TOPMOST by shifting some nodes down.
Sample Graphs
See Also
Developer's Guide
API
- fromScratchLayeringStrategy
Sample Graphs
See Also
Developer's Guide
API
- fromScratchLayeringStrategy
A layering strategy which applies a heuristic to approximate the optimal layering.
Sample Graphs
See Also
Developer's Guide
API
- fromScratchLayeringStrategy
Sample Graphs
See Also
Developer's Guide
API
- fromScratchLayeringStrategy
The nodes' layer assignment must be defined with layerIndicesResult.
This layering strategy allows edges whose source and target share a layer.
See Also
Developer's Guide
API
- fromScratchLayeringStrategy
Static Methods
Converts the given argument to an enum constant of this enum type.
Parameters
- value: HierarchicalLayoutLayeringStrategy
- The value to convert to an enum constant.
Return Value
- HierarchicalLayoutLayeringStrategy
- The enum constant that corresponds to the given argument.
Returns the name of the given enum constant.
Parameters
- value: HierarchicalLayoutLayeringStrategy
- The numeric value of an enum constant.
Return Value
- string
- The name of the enum constant.
Throws
- Exception ({ name: 'Error' })
- If this type is a flags enums, and the provided value doesn't correspond to a single enum constant, or if this enum type contains no constant of the given numeric value.