dimanche 22 février 2015

UML Sequence Diagram generator for working Python code


I'd like to look at some working Python code in terms of UML sequence diagrams for better understanding. Now I have to draw this diagrams with my pen - it's too slow. And I know that Python has excellent introspection tools like sys.settrace() and inspect module. I suppose that it is possible to catch all call, exception and return events to collect data for sequence diagram at runtime.


Example of required diagram


Are there exist such generators for Python? And if they don't exist are they will be useful for somebody except me?





Aucun commentaire:

Enregistrer un commentaire