An implementation of an IHandleProvider that returns all handles in the lookup of the ports owned by the given owner.
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
Creates an instance using the given owner as the provider for the ports.
Methods
Returns a collection of zero or more IHandle implementations that are associated with the ports of this context.
Fields
The owner of the ports.