DroidDiagram Programmer's Guide
LayeredLayout.getStraightenLongLinks Method
See Also
 






Gets 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 boolean getStraightenLongLinks ()

 Return 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