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:

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

Returns: void