Skip to content

Conversation

@lqaolqao
Copy link

This fixes issue #2057 by modifying detectUndirectedCycle.js to return a proper ordered array of vertices forming the cycle instead of an object mapping. The change makes the function return a standard path array which is more intuitive and useful for consumers expecting an ordered path of vertices forming the cycle.

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

Successfully merging this pull request may close these issues.

1 participant