Defines the different types of arrows supported by WebGLPolylineEdgeStyle, WebGLArcEdgeStyle, and WebGLBridgeEdgeStyle
Type Details
- yFiles module
- view
Constants
Determines whether to crop the edge at the port or at the shape of the port's owner node.
Remarks
This is a flag that can be added to one of the arrow types. If this flag is not set, the edge will end at the visible border of the node, pointing towards the port, even if the port is located inside the geometry of the node. Setting this flag indicates that the edge should be cropped at the port directly.
See Also
Render a default arrow head, similar to STEALTH.
Render a large default arrow head, similar to STEALTH.
Render a small default arrow head, similar to STEALTH.
Render a triangle arrow head, similar to TRIANGLE.
Render a large triangle arrow head, similar to TRIANGLE.
Render a small triangle arrow head, similar to TRIANGLE.
Static Methods
Converts the given argument to an enum constant of this enum type.
Remarks
Most notably, this method can convert an enum constant's name into the enum constant itself.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- value - WebGLArrowType
- The value to convert to an enum constant.
Returns
- ↪WebGLArrowType
- The enum constant that corresponds to the given argument.
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 - WebGLArrowType
- 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.