documentationfor yFiles for HTML 2.6

GroupingNodePositionHandler

The IPositionHandler implementation used in the context of IGraphs where there is a active hierarchy.

Inheritance Hierarchy
GroupingNodePositionHandler
Implemented Interfaces

Remarks

This implementation delegates through to a simpler implementation that only deals with the geometric relocation of the node. In addition to that it finds the IReparentNodeHandler from the IInputModeContext to detect a reparenting gesture by the user. If such a gesture is recognized, the node can be moved freely until a valid new parent node is found. This implementation then temporarily sets that node as a new visual parent and highlight the node. When the gesture is finished, the reparent method is called to perform the actual reparenting.

In order to customize this default behavior, subclasses of this type can be decorated to the INodes in the graph.

Type Details

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

Constructors

Properties

Methods