Layout style specifier.

Namespace: yWorks.yFiles.Layout.Hierarchic
Assembly: yWorks.yFilesSilverlight.Algorithms (in yWorks.yFilesSilverlight.Algorithms.dll) Version: 2.4.0.0

Syntax

C#
public enum LayoutStyle
Visual Basic
Public Enumeration LayoutStyle

Members

Member nameValueDescription
Pendulum0 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.

LinearSegments1 Layout style specifier. Draws the edges in a way that at most two bends are used per edge unless two edges cross.
Polyline2 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.
Tree3 Layout style specifier. Gives nice layouts if the graph is a tree.
Simplex4Layout style specifier. Gives tight layouts with rather few bends.
MedianSimplex5 Layout style specifier. Similar to SIMPLEX but more symmetric for the cost of a few more bends.

See Also