lib/dag.js
function(links) {
  this.dependencies = _buildDependencies(links);
  this.tasks = graph.tsort(this.dependencies).reverse();  
  this.index = 0;
}
function(links) {
  this.dependencies = _buildDependencies(links);
  this.tasks = graph.tsort(this.dependencies).reverse();  
  this.index = 0;
}
function ( links ) { this . dependencies = _buildDependencies ( links ) ; this . tasks = graph . tsort ( this . dependencies ) . reverse ( ) ; this . index = 0 ; }
DAG - routines related to DAG go here
DAG - routines related to DAG go here