dag
v0.0.1
Published
Directed acyclic graph
Downloads
3,115
Readme
dag
Helper for validating cyclic dependencies in express-djinga.
Usage
var dag = new Dag();
dag.addEdge('A', 'B');
dag.addEdge('B', 'C');
dag.addEdge('C', 'A'); // Boom! Exception!
License
The MIT License (MIT) © Vsevolod Strukchinsky