documentationfor yFiles for HTML 2.6

Properties

contextMenuInputModein GraphInputModeGets or sets the ContextMenuInputMode which handles context menus on a CanvasComponent.

Method Return Values

createContextMenuInputMode ()in GraphInputModeFactory method for the contextMenuInputMode property.

Method Parameters

GraphEditorInputMode ()in GraphEditorInputModeCreates a new instance that is not bound to an existing graph or selection, initially.
onContextMenuInputModeChanged (ContextMenuInputMode, ContextMenuInputMode)in GraphInputModeCalled when the ContextMenuInputMode property value changes and after initialization of the property.
GraphViewerInputMode ()in GraphViewerInputModeInitializes a new instance of the GraphViewerInputMode class.