This sample showcases all predefined GoJS figures. This sample also makes use of GoJS Highlighting data bindings: Mouse-hover over a shape to see its name.
You can specify a predefined geometry for a Shape by setting its Shape.figure.
See definitions for all the predefined figures in the file: Figures.js.
With GoJS you can also define your own custom shapes with SVG-like path syntax, see the SVG icons sample for examples or the Geometry Path Strings intro page to learn more.
For predefined arrowheads, see the Arrowheads sample.