documentationfor yFiles for HTML 2.6

PortsHandleProvider

An implementation of an IHandleProvider that returns all handles in the lookup of the ports owned by the given owner.

Inheritance Hierarchy
PortsHandleProvider
Implemented Interfaces

Remarks

Using this class to display port handles will result in exceptions if the underlying port instances are removed from the graph while the handles are displayed. This can happen, for example, through Undo or if ports are removed programmatically with remove. In that case, you need to query the handles again before interacting with the graph, for example by temporarily unselecting and reselecting the port-owning nodes.

Type Details

yfiles module
view-editor
yfiles-umd modules
view-editor, view-table, view
Legacy UMD name
yfiles.input.PortsHandleProvider

Constructors

Methods

Fields