Fixed 'sinks' method for undirected graph#102
Fixed 'sinks' method for undirected graph#102lynxaegon wants to merge 2 commits intodagrejs:masterfrom
Conversation
|
interesting issue :) |
What should |
@dforsber from the API Reference: @assafsun is right, in an undirected graph, in-edges and out-edges are the same. I was using graphlib for a mesh network graph (undirected ofc) and i was using sinks to determine that a node in the network wasn't connected to anything anymore (on disconnects). The |
|
I updated the PR, but the new test doesn't pass. Can you take a look? |
Fixes #101