documentationfor yFiles for HTML 3.0.0.3

Usages of IGraphSelection

Properties

graphSelectionin GraphInputModeGets the graph selection from the parentInputModeContext.
graphSelectionin NavigationInputModeGets or sets the IGraphSelection this mode operates on.
selectionin GraphComponentGets or sets the selection model that stores the selection state for the visualization.

Method Parameters

onGraphSelectionChanged (IGraphSelection, IGraphSelection)in GraphEditorInputModeCalled when the IGraphSelection property changes.
GraphComponent (HTMLElement, )in GraphComponentCreates a new instance of the GraphComponent in the given div element.
GraphComponent ()in GraphComponentCreates a new instance of the GraphComponent.
GraphComponent (string, )in GraphComponentCreates a new instance of GraphComponent using the div element that is specified by the selector.