C

EdgeDefaults

A canonical implementation of the IEdgeDefaults interface
ImplementsInheritance Hierarchy

Members

No filters for this type

Constructors

Initializes a new instance of the EdgeDefaults class with default edge style, label, and port defaults.

Parameters

Properties

Gets or sets the defaults for labels at edges.
final
Gets or sets the defaults for ports at edges.
Note that these are not the defaults for the sourcePorts or targetPorts. Instead, these are the defaults for the ports in the edge's ports collection to which other edges can connect.
final
Gets or sets a value indicating whether the style instance should be shared referentially or cloned upon a call to getStyleInstance.
Gets or sets the style to use for edges.
Depending on the setting of shareStyleInstance, the getStyleInstance method should return a clone of this instance or the very same instance.
final

Methods

Factory method that returns a style instance for use with newly created edges.
Most implementations will yield either a clone of or the style property, if shareStyleInstance is enabled, but they might use more complicated logic, too.

Return Value

IEdgeStyle
The style to use, which for most implementations is either a clone of or the style property, if shareStyleInstance is enabled.