Adding a proper graph model, isolating the autolayout algorithm from the rest...
The code is refactored as suggested in #14. This refactoring allows for streamlining the make_diagram function and also separating the autolayout algorithm from the rest of the code. It is now possible to do experiments with better automatic layouts.
Modification effectuée par Pavel Kalouguine