The different possible styles supported by GridRenderer's gridStyle property.
Type Details
- yFiles module
- view
Constants
Only horizontal lines are rendered.
Remarks
This is mostly useful for HORIZONTAL_LINES so snapping aligns with the grid visualization.
Only vertical lines are rendered.
Remarks
This is mostly useful for VERTICAL_LINES so snapping aligns with the grid visualization.
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 - GridStyle
- 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.