documentationfor yFiles for HTML 2.6

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 supports the lookup method that can be used to query additional aspects of the implementation.

Type Details

yfiles module
view-component
yfiles-umd modules
All view modules
Legacy UMD name
yfiles.graph.IPortLocationModel

See Also

Methods