Verified Commit 6f0b779d authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

Use a DfsPostOrder visitor for rebuild order

To generate the correct order a topologic order traversal should be
used, but that doesn't handle cycles, while a visitor such as
DfsPostOrder does. But it emits the graph in a visual wrong order so
store the results in a vector and reverse them before displaying.

Closes #1
parent beff45a1
Pipeline #2311 passed with stages
in 2 minutes and 18 seconds