This demonstrates the implementation of a custom HTML context menu.

For a light-box style HTML context menu implementation, see the LightBox Context Menu sample.

Right-click or tap-hold on a Node to bring up a context menu. If you have a selection copied in the clipboard, you can bring up a context menu anywhere to paste.

GoJS version 2.3.17. Copyright 1998-2023 by Northwoods Software.

View this sample page's source on GitHub