Type Details
- yfiles module
- layout-core
- yfiles-umd modules
- All layout modules, view-layout-bridge
- Legacy UMD name
- yfiles.router.MonotonicPathRestriction
See Also
OrthogonalPatternEdgeRouter.monotonicPathRestriction,
EdgeRouterEdgeLayoutDescriptor.monotonicPathRestriction
Constants
A constant specifying monotonic edge path restrictions for the horizontal and vertical direction.
Remarks
This implies that each horizontal as well as each vertical edge segment is directed from the source to the target.
See Also
A constant specifying monotonic edge path restrictions for the horizontal direction.
Remarks
This implies that each horizontal edge segment is directed from the source to the target. Note that if the source and target node are located on the same x-coordinate, then this restriction can not have an effect.
See Also
A constant specifying that there are no monotonic edge path restrictions.
Remarks
The direction of the edge segments is not restricted, hence, intermediate segments might also point in a direction other than the one towards the target.
See Also
A constant specifying monotonic edge path restrictions for the vertical direction.
Remarks
This implies that each vertical edge segment is directed from the source to the target. Note that if the source and target node are located on the same y-coordinate, then this restriction can not have an effect.
See Also
Static Methods
Converts the argument to MonotonicPathRestriction.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- value - MonotonicPathRestriction
- The value to convert to MonotonicPathRestriction.
Returns
- ↪MonotonicPathRestriction
- Either
value
if it is already a MonotonicPathRestriction or an appropriate converted value.