documentationfor yFiles for HTML 3.0.0.3

IPortLocationModel

Defines the geometry of IPort instances with respect to specific IPortLocationModelParameters.

Remarks

In addition to defining the location of a port with respect to a specific IPortLocationModelParameter, a port location model is typically the factory of the model parameters that are compatible with it, too.

Typically, the port location model defines a compilation of valid locations for ports, and a specific model parameter specifies an exact geometry for a port.

By design, the same instance of a port location model can be shared by multiple port location model parameters. Similarly, the same instance of a port location model parameter can be shared by multiple ports.

This interface provides the getContext method that can be used to query additional aspects of the implementation.

Type Details

yFiles module
view

See Also

Methods