Layout style specifier.
Namespace: yWorks.yFiles.Layout.HierarchicAssembly: yWorks.yFilesSilverlight.Algorithms (in yWorks.yFilesSilverlight.Algorithms.dll) Version: 2.1.0.2
Syntax
| C# |
|---|
public enum LayoutStyle |
| Visual Basic |
|---|
Public Enumeration LayoutStyle |
Members
| Member name | Description | ||
|---|---|---|---|
| Pendulum | 0 | Layout style specifier. Draws the edges in a way that nodes are balanced nicely and the number of bends on an edge is kept small. Note that this layout style is more time consuming than most of the other ones. | |
| LinearSegments | 1 | Layout style specifier. Draws the edges in a way that at most two bends are used per edge unless two edges cross. | |
| Polyline | 2 | Layout style specifier. Draws the edges in a polyline fashion. The layout tends to be very compact but the number of edge bends may be high. | |
| Tree | 3 | Layout style specifier. Gives nice layouts if the graph is a tree. | |
| Simplex | 4 | Layout style specifier. Gives tight layouts with rather few bends. | |
| MedianSimplex | 5 | Layout style specifier. Similar to SIMPLEX but more symmetric for the cost of a few more bends. |