DroidDiagram Programmer's Guide
TopologicalLayout Class
Remarks See Also
 






Implements a topological ordering.

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

 Syntax

Java  Copy Code

public class TopologicalLayout extends AbstractLayout

 Remarks

The algorithm arranges nodes in a row or a column (depending on the value of the Orientation property) in such a way that there are as fewer back links as possible. The links connecting nonadjacent nodes are rendered as arcs. The links connecting adjacent nodes are rendered either as arcs or as straight lines, depending on the BendAdjacentLinks property. The amplitude of the link arcs is proportional to the distance between the connected nodes.

All forward links are rendered at one side of the nodes and all back links are rendered at the opposite side. Thus, all bent links follow the same rotation direction.

 Inheritance Hierarchy

java.lang.Object
    com.mindfusion.diagramming.AbstractLayout
        com.mindfusion.diagramming.TopologicalLayout

 See Also

TopologicalLayout Members
com.mindfusion.diagramming Namespace