Enumeration with different options on how to handle previews during a gesture.
Remarks
Type Details
- yFiles module
- view
Constants
A primitive visualization is displayed during the gesture.
Remarks
See Also
The item is changed directly during the gesture.
Remarks
This option offers the best visual fidelity and during the gesture everything should be an accurate preview of how things look after finishing it. However, since the actual item is changed, this may cause graph events to be raised during the gesture.
Generally, if you listen to events on IGraph, this option should be best avoided.
See Also
No preview during the gesture, although some sort of visual feedback may be present.
A helper item is displayed during the gesture, while the original one is hidden.
Remarks
See Also
Static Methods
Converts the given argument to an enum constant of this enum type.
Remarks
Parameters
A map of options to pass to the method.
- value - Visualization
- The value to convert to an enum constant.
Returns
- ↪Visualization
- The enum constant that corresponds to the given argument.
Returns the name of the given enum constant.
Parameters
A map of options to pass to the method.
- value - Visualization
- 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.