E

WebGLArrowType
flags

Defines the different types of arrows supported by WebGLPolylineEdgeStyle, WebGLArcEdgeStyle, and WebGLBridgeEdgeStyle

Members

No filters for this type

Constants

Determines whether to crop the edge at the port or at the shape of the port's owner node.
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.
static

See Also

API
cropAtPort
Do not render an arrow head.
Render a pointed line end at the end of the edge's path.
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.
Most notably, this method can convert an enum constant's name into the enum constant itself.
static

Parameters

value: WebGLArrowType
The value to convert to an enum constant.

Return Value

WebGLArrowType
The enum constant that corresponds to the given argument.
Returns the name of the given enum constant.
static

Parameters

value: WebGLArrowType
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.