Specifies the layout style for handling chain substructures in an OrthogonalLayout.
Members
No filters for this type
Constants
When this option is selected, chains within the input graph are not detected and will be arranged using the default orthogonal layout without any particular emphasis on their linear structure. This is the default behavior if no specific chain substructure style is set.
static
Sample Graphs
ShownSetting: Chains are not handled explicitly (NONE)
See Also
Developer's Guide
API
- chainSubstructureStyle
This style ensures that all nodes in a detected chain are aligned in a straight, unbroken line. The chain's linearity is preserved during the layout process, making it ideal for scenarios where maintaining the sequential order of nodes is critical.
static
Sample Graphs
ShownSetting: Chain substructure style STRAIGHT
See Also
Developer's Guide
API
- chainSubstructureStyle
This style wraps chains in a manner similar to WRAPPED_WITH_NODES_AT_TURNS, but instead of positioning nodes at the turns, it allows the edges themselves to form the bends or corners. This creates a more flexible arrangement, where the focus is on maintaining the chain's path rather than emphasizing node placement at corners.
static
Sample Graphs
ShownSetting: Chain substructure style WRAPPED_WITH_BENDS_AT_TURNS
See Also
Developer's Guide
API
- chainSubstructureStyle
In this style, chains are arranged to wrap in a line or column, where each node in the chain is placed at the bends or corners of the arrangement. This approach emphasizes the presence of nodes at key turning points, making it useful for layouts where node placement at corners is desired.
static
Sample Graphs
ShownSetting: Chain substructure style WRAPPED_WITH_NODES_AT_TURNS
See Also
Developer's Guide
API
- chainSubstructureStyle
Static Methods
Converts the given argument to an enum constant of this enum type.
Converts the given argument to an enum constant of this enum type.
Most notably, this method can convert an enum constant's name into the enum constant itself.
static
Parameters
- value: OrthogonalLayoutChainSubstructureStyle
- The value to convert to an enum constant.
Return Value
- OrthogonalLayoutChainSubstructureStyle
- The enum constant that corresponds to the given argument.
Returns the name of the given enum constant.
Returns the name of the given enum constant.
static
Parameters
- value: OrthogonalLayoutChainSubstructureStyle
- 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.