MindFusion.Diagramming for JavaScript Programmer's Guide

Graph.makeAcyclic Method

See Also
 





Makes the graph acyclic by reversing the direction of selected edges.

Namespace: MindFusion.Graphs
File: Graph.js

 Syntax

JavaScript  Copy Code

function makeAcyclic ()

 Return Value

A list with all edges that were reversed in order to make the graph acyclic.

 Remarks

Must be called on a simple connected graph.

 See Also