Remarks
Members
Constants
This policy realizes the exact same child alignment as PLAIN if there are no edge labels associated with edges going to child nodes or if edgeLabelPlacement is not set to INTEGRATED.
If edge labels need to be considered, edge labels will be added to the convex hull of the child node to which the edge connects. This means that child nodes connected with a labeled edge will be aligned at the border where the edge label begins. In consequence, edge labels will be aligned with neighboring edge labels as well as neighboring child nodes if a child node has no edge label at its incoming edge.
This alignment strategy is especially effective if large edge labels need to be considered while drawings should still be compact and distances from parent to child nodes short.
Sample Graphs
See Also
Developer's Guide
API
- childAlignmentPolicy
Sample Graphs
See Also
Developer's Guide
API
- childAlignmentPolicy
Sample Graphs
See Also
Developer's Guide
API
- childAlignmentPolicy
See Also
Developer's Guide
API
- childAlignmentPolicy
Static Methods
Converts the given argument to an enum constant of this enum type.
Parameters
- value: ChildAlignmentPolicy
- The value to convert to an enum constant.
Return Value
- ChildAlignmentPolicy
- The enum constant that corresponds to the given argument.
Returns the name of the given enum constant.
Parameters
- value: ChildAlignmentPolicy
- 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.