Context Menus

Right-click on the chart or chart background (or long press on touch devices) to display different context menus.

This demo shows how to display a right-click context menu with selected actions for chart elements.

When invoked on the chart background, the context menu shows an option to select all nodes. When invoked on a node or link, the context menu offers the options to select all the neighbours of a clicked item, or to unselect all items.

Generally it is good practice to offer only a small number of options.