documentationfor yFiles for HTML 3.0.0.3

Properties

modelin IPortLocationModelParameterGets the model that created this parameter.
modelin PortCandidateGets or sets the model that will be used by this instance to determine the new locationParameter if the getPortCandidateAt is called and the validity is set to DYNAMIC.

Method Parameters

PortCandidate (IPortOwner, IPortLocationModel)in PortCandidateCreates a candidate for the given owner that uses the graph's defaults for the port's style and a default parameter for the given model.
getNewParameter (IPort, IPortLocationModel, Point)in PortLocationModelParameterHandleObtains the new parameter for the given location and port.

Implementing Types

BendAnchoredPortLocationModelAn implementation of the IPortLocationModel that can create IPortLocationModelParameters that describe the location of ports that are attached to the bends of IEdges.
CompositePortLocationModelAn implementation of IPortLocationModel that can be used to create custom port location models out of existing IPortLocationModelParameter instances.
EdgePathPortLocationModelA port location model that places the port on the edge path at a specified ratio.
EdgeSegmentPortLocationModelA port location model that places the port on a specified segment and at a specified ratio of an edge.
FreeNodePortLocationModelA straightforward implementation of an IPortLocationModel for IPorts at INodes that determine the location dynamically using the layout.