Skip to content
  • Jelle van der Waa's avatar
    Use a DfsPostOrder visitor for rebuild order · 6f0b779d
    Jelle van der Waa authored
    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
    6f0b779d