Skip to content

GraphRenderer.onNodeRightClick method

GraphRenderer › onNodeRightClick

Unofficial

Handle a right-click on a graph node.

Signature:

onNodeRightClick(evt: MouseEvent, id: string, type: string): void

Parameters:

ParameterTypeDescription
evtMouseEventThe mouse event.
idstringThe identifier of the right-clicked node.
typestringThe type of the right-clicked node.

Returns: void