Finding full path between nodes

I was going through your example at https://gojs.net/latest/samples/distances.html to find all possible path between two nodes

In your example when i selecting Node “0” to Node “1” , it gives me Michael to Grace
But i have multiple links connected to Node “0” to Node “1” .

Is there any way i get all path ?
Michael — Grace
Michael — Grace

You’ll need to change the code to have paths remember the individual links that were traversed, by walking the graph and remembering both nodes and links.