Enum constants that specify the Horizontal overlap criterion for the ShuffleLayout.
Type Details
- yfiles module
- layout-core
- yfiles-umd modules
- All layout modules, view-layout-bridge
- Legacy UMD name
- yfiles.organic.HorizontalOverlapCriterion
See Also
Constants
Horizontal overlap criterion defining an overlap as horizontal if the overlapping area is greater in height than in width.
Remarks
Otherwise, if the overlap area's width is greater than or equal to its height, an overlap will be categorized as vertical.
The area of an overlap is defined as the rectangle where two nodes intersect with each other.
See Also
Sample Graphs
Horizontal overlap criterion categorizing an overlap as horizontal if the required movement for solving the overlap is shorter in horizontal direction than in vertical direction.
Remarks
Otherwise, an overlap will be categorized as vertical.
This criterion tries to avoid moving nodes too much because the direction for resolving overlaps will be chosen such that the shorter movement is preferred.
See Also
Sample Graphs
Horizontal overlap criterion categorizing an overlap as horizontal if the center-to-center difference between the overlapping nodes is greater in horizontal direction (x-coordinates) than in vertical direction (y-coordinates).
Remarks
See Also
Sample Graphs
Static Methods
Converts the argument to HorizontalOverlapCriterion.
Parameters
A map of options to pass to the method.
- value - HorizontalOverlapCriterion
- The value to convert to HorizontalOverlapCriterion.
Returns
- ↪HorizontalOverlapCriterion
- Either
value
if it is already a HorizontalOverlapCriterion or an appropriate converted value.