Describes the type of movement of a point during an edit in the context of GraphSnapContext.
Type Details
- yFiles module
- view
See Also
Constants
The bitwise combination of LINEAR_MOVE_X and ARBITRARY_MOVE_X
The bitwise combination of LINEAR_MOVE_Y and ARBITRARY_MOVE_Y
Static Methods
Converts the given argument to an enum constant of this enum type.
Returns the name of the given enum constant.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- value - MoveTypes
- The numeric value of an enum constant.
Returns
- ↪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.