DiagramLite Programmer's Guide
LayeredLayout.StraightenLongLinks Property
See Also
 





Gets or sets whether the layout algorithm should strive to straighten links that cross more than one layer of the graph.

Namespace: MindFusion.Diagramming.Layout
Assembly: MindFusion.Diagramming.Silverlight

 Syntax

C#  Copy Code

public bool StraightenLongLinks { get; set; }

Visual Basic  Copy Code

Public Property StraightenLongLinks As Boolean

 Property Value

If this property is enabled, links that cross multiple layers have at most two bends. Because of the additional horizontal alignment contraints, the arranged graph osually occupies a larger area than when not using StraightenLongLinks.

 See Also

LayeredLayout Members
LayeredLayout Class
MindFusion.Diagramming.Layout Namespace