Enumeration for possible orientations of a segment in a (partially) orthogonal edge routing.
Remarks
This class is mainly used by IOrthogonalEdgeHelper and OrthogonalEdgeEditingContext.
Type Details
- yfiles module
- view-component
- yfiles-umd modules
- All view modules
- Legacy UMD name
- yfiles.input.SegmentOrientation
See Also
Constants
The segment has a horizontal orientation, which means that the end points should be moved vertically in synch so that the orientation is not destroyed.
See Also
The segment does not need to be treated especially, both endpoints can be moved independently from each other.
See Also
The segment has a vertical orientation, which means that the end points should be moved horizontally in synch so that the orientation is not destroyed.
See Also
Static Methods
Converts the argument to SegmentOrientation.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- value - SegmentOrientation
- The value to convert to SegmentOrientation.
Returns
- ↪SegmentOrientation
- Either
value
if it is already a SegmentOrientation or an appropriate converted value.