Skip to content

GraphRenderer.onNodeClick method

GraphRenderer › onNodeClick

Unofficial

Handle a click on a graph node.

Signature:

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

Parameters:

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

Returns: void