documentationfor yFiles for HTML 2.6

CollapsibleNodeStyleDecorator

Decorates an arbitrary node styles with an additional collapse/expand handle.

Inheritance Hierarchy
CollapsibleNodeStyleDecorator
Implemented Interfaces

Remarks

This style uses the CollapsibleNodeStyleDecoratorRenderer to adorn an existing INodeStyle with a Button that can then be used to trigger the TOGGLE_EXPANSION_STATE.

By default, this handle is rendered as a plus ("+") sign when in collapsed state, and a minus ("-") sign when in expanded state.

The collapse button can be styled using the CSS class selectors 'yfiles-collapsebutton', 'yfiles-collapsebutton-checked' and 'yfiles-collapsebutton-unchecked'.

Type Details

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

See Also

Constructors

Properties

Methods