Enumeration with different options on how to handle previews during a gesture.
Remarks
Used by some input gestures (e.g. edge relocation and label movement) to determine the way the changed item is visualized during the gesture.
Members
No filters for this type
Constants
The unchanged original is still visible during the gesture.
static
See Also
Developer's Guide
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.
static
See Also
Developer's Guide
static
See Also
Developer's Guide
This option has better compatibility than LIVE since the graph is not changed during the gesture, but may cause visual glitches in some circumstances, especially with items that depend on the one that is currently manipulated. In many cases, however, this option still looks accurate enough.
static
See Also
Developer's Guide
Static Methods
Converts the given argument to an enum constant of this enum type.
Converts the given argument to an enum constant of this enum type.
Most notably, this method can convert an enum constant's name into the enum constant itself.
static
Parameters
- value: Visualization
- The value to convert to an enum constant.
Return Value
- Visualization
- The enum constant that corresponds to the given argument.
Returns the name of the given enum constant.
Returns the name of the given enum constant.
static
Parameters
- value: Visualization
- The numeric value of an enum constant.
Return Value
- 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.