Skip to content
  1. Examples


This example shows how to use the nodesSelected, edgesSelected, nodesUnselected and edgesUnselected events to listen to the selection of nodes and edges in the graph.

Left click on a node or edge to select it. Hold "ctrl" to select multiple nodes/edges at the same time.