datavis-tech / graph-data-structure

A graph data structure with topological sort and shortest path algorithms.
MIT License
250 stars 45 forks source link

Add CycleError option to DFS #42

Closed notmatthancock closed 3 years ago

notmatthancock commented 3 years ago

Closes #41 and partially addresses #32. For the latter, a different algorithm other than DFS would be required to implement a function who returns that actual cycles themselves.