be-oi / beoi-training

Public training materials for Belgian Oympiad in Informatics
30 stars 13 forks source link

Dependency graph #5

Open RobinJadoul opened 8 years ago

RobinJadoul commented 8 years ago

I made a script to build a dependency graph for the units.

Right now, the toposort of the graph is just printed to the console when the script is run, so we probably want something else for that (so that the students can see what order is recommended, without having to do a manual toposort on the image). Ideas/recommendations are welcome.

I was also thinking about trying to do something with gh-pages maybe to have an even better interface to the materials (though that is probably only loosely related to this pull request :smile:).

blegat commented 8 years ago

Tu peux exporter le graphe en .dot et optionnellement le transformer en png avec graphviz. J'avais fait un outil qui faisait un graph d'un historique Git comme ça.

RobinJadoul commented 8 years ago

That's exactly how it's done, only calling dot from the script directly

I just don't think that the best format for the toposorted version