SVG Icons Sample

This text is displayed if your browser does not support the Canvas HTML element.

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.

This text is displayed if your browser does not support the Canvas HTML element.

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

View this sample page's source in-page

View this sample page's source on GitHub