A canonical implementation of the INodeDefaults interface.
Implements
- I
Members
No filters for this type
Constructors
Initializes a new instance of the NodeDefaults class using default properties.
Initializes a new instance of the NodeDefaults class using default properties.
Parameters
Properties
Gets or sets the defaults for labels at nodes.
Gets or sets the defaults for labels at nodes.
final
Implements
INodeDefaults.labelsGets or sets the defaults for ports at nodes.
Gets or sets the defaults for ports at nodes.
final
Implements
INodeDefaults.portsfinal
Implements
INodeDefaults.shareStyleInstanceGets or sets the default node size.
Gets or sets the default node size.
The values of this size will be used by createNodeAt.
conversionfinal
Implements
INodeDefaults.sizeGets or sets the style to use for nodes.
Gets or sets the style to use for nodes.
Depending on the setting of shareStyleInstance, the getStyleInstance method should return a clone of this instance or the very same instance.
final
Implements
INodeDefaults.styleMethods
Factory method that returns a style instance for use with newly created nodes.
Factory method that returns a style instance for use with newly created nodes.
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
- INodeStyle
- The style to use, which for most implementations is either a clone of or the style property, if shareStyleInstance is enabled.