yfiles.client.tiles.GroupNavigationMode
Class GroupNavigationMode
This class implements an input mode for navigating in a nested graph. An instance of this input mode provides opening and closing of group nodes and
switching the display of the underlying canvas to the inner graph of a group node or
back to an outer graph.
- All Parent Classes:
- InputMode
|
Method Summary |
|
activate()
activates this input mode. |
|
deactivate()
deactivates this input mode. |
GroupNavigationMode
GroupNavigationMode(/*GraphCanvas*/ canvas, /*HierarchyManager*/ hierarchyManager)
- This class implements an input mode for navigating in a nested graph. An instance of this input mode provides opening and closing of group nodes and
switching the display of the underlying canvas to the inner graph of a group node or
back to an outer graph.
- Parameters:
canvas - the canvas instance this mode works on
hierarchyManager - hierarchy manager for the graph of the canvas
activate
activate()
- activates this input mode. The following gestures trigger actions.
- Clicking on the state label (usually a plus or minus sign) of a group node, switches the group
from open to closed and vice versa.
- Clicking on a group node with the CTRL and SHIFT keys pressed, switches the canvas to its
inner graph.
- Clicking on an empty space with the CTRL and SHIFT keys pressed, switches the canvas to the
parent graph.
deactivate
deactivate()
- deactivates this input mode.
Copyright © 2006-2008 yWorks GmbH. All rights reserved.