Dojo Diagrammer Sample : Layout Browser
Adjust the space between nodes by using the slider below:
Adjust the space between nodes by using the slider below:
Adjust the space between nodes by using the slider below:
Application domains for this layout include telecom and networking, software management, CASE tools, database and knowledge engineering, World Wide Web.
The algorithm allows to specify a preferred length of the links. To change this value, use the slider below:
It is also possible to specify a preferred length for each link individually. The slider below can be used to adjust the preferred length of the thick white link:
The clusters (i.e., stars or rings) can be computed automatically from the graph topology, or specified programmatically:
It is possible to specify that certain nodes must be star centers:
Clusters can also be specified by creating Subgraphs, as in this example.
Link layout tries to reduce link crossing and node overlapping by changing the links shape. Two link layout algorithms are available: Short Link Layout with a limited number of bends or Long Link Layout with unlimited number of bends.
The following example uses a short link layout algorithm. Use the checkbox below to apply the link layout:
The following example uses a long link layout algorithm. The diagram displays a maze and a long link layout is used to route the links through the maze. Walls are real nodes, and the layout algorithm is configured to avoid them. Use the checkbox below to apply the link layout:
The grid layout supports three modes:
The sliders below can be used to control the spacing between nodes:
The position of a node in a level can be specified individually. To control the location of the yellow node inside its level, use the checkbox below: