documentationfor yFiles for HTML 3.0.0.3

Usages of IPortDefaults

Properties

portsin EdgeDefaults
portsin IEdgeDefaultsGets or sets the defaults for ports at edges.
portsin INodeDefaultsGets or sets the defaults for ports at nodes.
portsin NodeDefaults

Method Return Values

getPortDefaults (IPortOwner)in IGraphGets the IPortDefaults for a given IPortOwner in the context of the graph.

Method Parameters

EdgeDefaults ()in EdgeDefaultsInitializes a new instance of the EdgeDefaults class with default edge style, label, and port defaults.
FoldingPortDefaults (IPortDefaults?, )in FoldingPortDefaultsCreates a new instance of this type, optionally configuring the values from the given IPortDefaults object.
NodeDefaults ()in NodeDefaultsInitializes a new instance of the NodeDefaults class using default properties.

Implementing Types

PortDefaultsA canonical implementation of the IPortDefaults interface.