A canonical implementation of the IEdgeDefaults interface
Implements
- I
Members
No filters for this type
Constructors
Initializes a new instance of the EdgeDefaults class with default edge style, label, and port defaults.
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.
Gets or sets the defaults for labels at edges.
final
Implements
IEdgeDefaults.labelsGets or sets the defaults for ports at edges.
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
Implements
IEdgeDefaults.portsfinal
Implements
IEdgeDefaults.shareStyleInstanceGets or sets the style to use for edges.
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
Implements
IEdgeDefaults.styleMethods
Factory method that returns a style instance for use with newly created edges.
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.