Open SgtPooki opened 7 years ago
For those of us concerned about our dependency graphs, it would be really useful to be able to more easily find the leaf nodes, or to filter nodes in the graph by their depth.
could you use native functions graph.foreachNode or graph.foreachLinkedNode ?
Or
var degree = calculator.degreeCentrality(graph); degree.forEach( function (node) { console.log( node.value) })
For those of us concerned about our dependency graphs, it would be really useful to be able to more easily find the leaf nodes, or to filter nodes in the graph by their depth.