Specifies the layout style for tree structures in the OrganicLayout.
Type Details
- yFiles module
- algorithms
Constants
Substructure style specifier for tree structures that indicates that the algorithm does not handle such structures in a special way.
Substructure style specifier for tree structures that leads to an oriented tree layout style.
Remarks
The root node lies on the barycenter of its neighbors (the ones that do not belong in the subtree) while the subtree is rotated accordingly.
See Also
Sample Graphs
Substructure style specifier for tree structures that leads to a radial layout style.
Substructure style specifier for tree structures that leads to a radial tree layout style.
Static Methods
Converts the given argument to an enum constant of this enum type.
Remarks
Most notably, this method can convert an enum constant's name into the enum constant itself.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- value - OrganicLayoutTreeSubstructureStyle
- The value to convert to an enum constant.
Returns
- ↪OrganicLayoutTreeSubstructureStyle
- The enum constant that corresponds to the given argument.
Returns the name of the given enum constant.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- value - OrganicLayoutTreeSubstructureStyle
- The numeric value of an enum constant.
Returns
- ↪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.