Layout Styles Demo
This demo showcases the most used layout algorithms of yFiles, including hierarchical,
organic, orthogonal, tree, circular, radial tree, and several edge routing styles.
The configuration panel provides access to the settings of each algorithm. Typically, an
algorithm allows even more options in code.
Since not every layout style works well for every type of graph, we provide several
suitable sample graphs.
The interactive editing capabilities of the graph component of this demo are explained in
the Graph Editor Demo.
Things to Try
- Browse the Layout Algorithms and Sample Graphs.
- Explore and apply the settings of the layout algorithms.
- Try a preset configuration to explore different aspects of the layout algorithms.
Compact Disk Layout
The nodes are arranged on a disk such that the disk's radius is minimized.
The layout mostly optimizes the dense placement of the nodes, while edges play a minor role. Hence, the compact disk layout is mostly suitable for graphs with small components whose loosely connected nodes should be grouped and packed in a small area.