New Tree
MinNodes:
MaxNodes:
MinChildren:
MaxChildren:
ForceDirectedLayout Properties
Max Iterations:
Epsilon:
Infinity:
ArrangementSpacing:
Vertex Properties
Electrical Charge:
Gravitational Mass:
Edge Properties
Spring Stiffness:
Spring Length:
Prelayout Properties
Prelayout Quality:
Prelayout Spread:

For information on ForceDirectedLayout and its properties, see the ForceDirectedLayout documentation page.


GoJS Features in this sample

Collections

GoJS provides its own collection classes: List, Set, and Map. You can iterate over a collection by using an Iterator. More information can be found in the GoJS Intro.

Related samples


Force Directed Layout

This predefined layout treats the graph as if it were a system of physical bodies with forces acting on and between them. The layout iteratively moves nodes and links to minimize the total sum of forces on each node. The resulting layout will normally not contain overlapping Nodes, excluding cases where the graph is densely interconnected. More information can be found in the GoJS Intro.

Related samples


HTML Interaction

GoJS Diagrams can be used alongside other HTML elements in a webapp. For custom Text Editors, Context Menus, and ToolTips, which are invoked and hidden via GoJS tool operations, it is best to use the HTMLInfo class.

More information can be found in the GoJS Intro.

Related samples