The JavaScript class hierarchy defined by the GoJS library, laid out by a TreeLayout. Classes that do not have any inheritance relationship are shown at the right.

Because the node template uses a "HyperlinkText", clicking on a node will open the API reference for that class in a new window.

For more uses of the Tree Layout, see the DOM Tree and Visual Tree samples.

GoJS Features in this sample

Tree Layout

This predefined layout is used for placing Nodes of a tree-structured graph in layers (rows or columns). For discussion and examples of the most commonly used properties of the TreeLayout, see the Trees page in the Introduction. More information can be found in the GoJS Intro.

Related samples