Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: More easily find the leaf nodes #17

Open
SgtPooki opened this issue Apr 26, 2017 · 1 comment
Open

Feature request: More easily find the leaf nodes #17

SgtPooki opened this issue Apr 26, 2017 · 1 comment

Comments

@SgtPooki
Copy link

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.

@gg4u
Copy link

gg4u commented Apr 27, 2017

could you use native functions graph.foreachNode or graph.foreachLinkedNode ?

Or

var degree = calculator.degreeCentrality(graph); degree.forEach( function (node) { console.log( node.value)  })

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants