Open Leoooob opened 7 years ago
He's right. The current algorithm results in an infinite loop for cyclic graphs.
It's now 1 December 2018, and I am still getting this error, so I am guessing this is not fixed as stated.
I have just 13 entries, with varying values, and I either get RangeError: Maximum call stack size exceeded or it crashes my debugger in vscode.
Is this project supported, should I be looking for a different module to do this, do you have any recommendations?
When you are trying to build all paths for a connected graph you end up in an infinite loop in Graph.js line 113.
Example:
A redesign of the
findAll
function in Graph.js would fix the issue.