DroidDiagram Programmer's Guide
LayeredLayout.setStraightenLongLinks Method
See Also
 






Sets whether the layout algorithm should strive to straigten links that cross more than one layer of the graph.

Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming

 Syntax

Java  Copy Code

public void setStraightenLongLinks (
    boolean value
)

 Parameters

value
true to straighten long links; otherwise false. The default value is false.

 Remarks

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
com.mindfusion.diagramming Namespace