Search
FlowchartLayout Class
Remarks See Also
 






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

Namespace: MindFusion.Graphs
File: FlowchartLayout.js

 Syntax

JavaScript  Copy Code

// class
FlowchartLayout.prototype = {}

 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

MindFusion.Graphs.Layout
    MindFusion.Graphs.FlowchartLayout

 See Also