DroidDiagram Programmer's Guide
FlowchartLayout Class
Remarks See Also
 






FlowchartLayout can be used to arrange flowcharts representing program source code.

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

 Syntax

Java  Copy Code

public class FlowchartLayout extends AbstractLayout

 Remarks

The algorithm recognizes program code -like patterns in the graph, such as loops, sequences and if/switch branchings, and arranges them recursively. FlowchartLayout could be used to arrange other types of graphs as well, though with some restrictions. For example it treats all back links as loops in the code, and expects that they are nested - loop links starting closer to the stop node should end closer to the start node. Another similar restriction is that there shouldn't be any cross-links that connect different branches of a decision sub-graph.

 Inheritance Hierarchy

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

 See Also

FlowchartLayout Members
com.mindfusion.diagramming Namespace