The values of this enum describe to which grid elements an object shall snap.
Remarks
It can be used for the GraphSnapContext's GridSnapType property to determine what SnapResults shall be created for the set IGridConstraintProvider<T>.
Type Details
- yfiles module
- view-component
- yfiles-umd modules
- All view modules
- Legacy UMD name
- yfiles.input.GridSnapTypes
Constants
Static Methods
Converts the argument to GridSnapTypes.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- value - GridSnapTypes
- The value to convert to GridSnapTypes.
Returns
- ↪GridSnapTypes
- Either
value
if it is already a GridSnapTypes or an appropriate converted value.