DroidDiagram Programmer's Guide
Diagram.getAutoSnapLinks Method
See Also
 






Gets the default value for the AutoSnapToNode property of new links.

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

 Syntax

Java  Copy Code

public boolean getAutoSnapLinks ()

 Return Value

true to snap links to nearest node, otherwise false; the default value is false.

 Remarks

Only nodes at a distance smaller than AutoSnapDistance are considered. A link does not snap to its current origin or destination nodes if that would create a self-loop.

 See Also

Diagram Members
Diagram Class
com.mindfusion.diagramming Namespace