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

graph.predecessors and graph.inEdges do not alway work #127

Open
JohnPool opened this issue Mar 16, 2021 · 0 comments
Open

graph.predecessors and graph.inEdges do not alway work #127

JohnPool opened this issue Mar 16, 2021 · 0 comments

Comments

@JohnPool
Copy link

JohnPool commented Mar 16, 2021

I noticed that (for a directed graph) graph.inEdges( node) and graph.predecessors( node) do not always work. In simple test examples they do work as expected, but in my code I have situations where in a part of the graph, say --> a --> b -->, graph.successors(a).length == 1, but graph.predecessors(b).length == 0 (and also graph.inEdges(b).length == 0).

The annoying thing is that this does not happen all the time (with the same, unmodified code).

Does anyone else have similar experiences?

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

1 participant