Basic GoJS Sample

This sample demonstrates tooltips and context menus for all parts and for the diagram background, as well as several other powerful diagram editing abilities.

Unlike the Minimal sample, this sample has templates for Links and for Groups, plus tooltips and context menus for Nodes, for Links, for Groups, and for the Diagram.

This sample additionally allows the user to:

GoJS contains many other possible commands, which can be invoked by either mouse/keyboard/touch or programatically. See an overview of possible commands here.

On touch devices, hold your finger stationary to bring up a context menu. The default context menu supports most of the standard commands that are enabled at that time for that object.