documentationfor yFiles for HTML 2.6

PortStyleDecorationInstaller

Allows the use of an IPortStyle to render the selection, highlight or focus indicator of ports.

Inheritance Hierarchy
PortStyleDecorationInstaller
Implemented Interfaces

Remarks

The renderer of the portStyle used by this class must create SvgVisuals.

The zoomPolicy property defines how the zoom level affects the rendering of the indicator. It can either scale according to the zoom level similar to regular graph items or have always to same thickness regardless of the zoom, similar to the default yFiles indicators.

An alternative to this class is setting an instance of IndicatorPortStyleDecorator to the portStyle property of the GraphSelectionIndicatorManager, GraphFocusIndicatorManager or GraphHighlightIndicatorManager classes.

Type Details

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

See Also

Constructors

Properties

Methods