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:

Parameter Type Description
evt MouseEvent The mouse event.
id string The identifier of the right-clicked node.
type string The type of the right-clicked node.

Returns: void