This sample shows several "icons" that were originally SVG paths, used as Shapes in GoJS.

Above some icons are shown in a Tree-like Diagram, below a larger selection is shown.

You can easily add your own shapes to GoJS by writing your own geometry strings, or by copying SVG path strings, as is done in this sample. The icons for this sample are defined in icons.js.

Read more about GoJS path syntax here.

The icons in this sample are from a selection of free icons at icomoon.io