C

BezierEdgeStyle

Provides an edge representation as a cubic Bezier path.
ImplementsInheritance Hierarchy

Remarks

The rendering is composed of a sequence of cubic Bezier segments. The bends together with the source and target port locations of the edge serve as control points for this path:

  • If there are only two control points (i.e. just source and target port and no bends), a straight line is rendered
  • Otherwise: the number of control points is internally padded to be 1 (mod 3) by duplicating the target port location, if necessary
  • Consecutive 4-tuples of control points describe a cubic segment of the path
  • Each consecutive pair of 4-tuples share their last resp. first control point.
  • Control points are not automatically aligned to form smooth connections between segments.

This style disables interactive bend creation and orthogonal editing and does not add bridges to its path.

See Also

Developer's Guide

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 the renderer implementation that has been supplied to this instance in the constructor.
readonlyfinal
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.

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 that is used to draw the path.
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.

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
A memberwise clone of this style.