C

PolylineEdgeStyle

A polygonal IEdgeStyle where straight line segments are used to connect the bends.
ImplementsInheritance Hierarchy

Members

No filters for this type

Constructors

Parameters

Properties

Gets or sets a CSS class that will be applied to the visualization.

The default value is an empty string, in which case no class is set for the visualization.

Multiple classes can be set by separating them with spaces, just like with the SVG class attribute.

final
Gets or sets whether edges using this style should be created or edited orthogonally.

Depending on this value, this style will provide a matching preconfigured IOrthogonalEdgeHelper via this renderer's context or null.

The default value is false.

final

See Also

Developer's Guide
Gets the renderer implementation that can be queried for implementations that provide details about the visual appearance and visual behavior for a given edge and this style instance.
The idiom for retrieving, e.g. an IVisualCreator implementation for a given style is:
const creator = style.renderer.getVisualCreator(edge, style)
const visual = creator.createVisual(context)
readonlyfinal
Gets or sets the smoothing length used for creating smooth bends.

A value of 0.0d will disable smoothing.

The default value is 0.

final

See Also

Developer's Guide
Gets or sets the visual arrow at the source end of edges that use this style.

Arrow instances may be shared between multiple style instances.

This property may not be null. To have no source arrow set, use NONE instead.

Note that changes to the properties of an arrow may not be immediately visible. It is therefore recommended to assign a new arrow instance to this property if you want to change aspects of the source arrow visualization.

The default value is NONE.

conversionfinal

See Also

Developer's Guide
Gets or sets the stroke for the line.
The default value is BLACK.
conversionfinal

See Also

Developer's Guide
Gets or sets the visual arrow at the target end of edges that use this style.

Arrow instances may be shared between multiple style instances.

This property may not be null. To have no target arrow set, use NONE instead.

Note that changes to the properties of an arrow may not be immediately visible. It is therefore recommended to assign a new arrow instance to this property if you want to change aspects of the target arrow visualization.

The default value is NONE.

conversionfinal

See Also

Developer's Guide

Methods

Performs a memberwise clone.
final

Return Value

Object
The memberwise clone of the PolylineEdgeStyle.