Skip to content

Use a DfsPostOrder visitor for rebuild order

Jelle van der Waa requested to merge fix_rebuild_order into master

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 (closed)

Merge request reports