Re:UML in Practice
by dunham on Thursday June 13, 2013 @10:17PM
(#5877923)
I like using graphviz for visualizing existing code and data. I write a script to generate the .dot file, maybe tweak it a little, and render with graphviz. I've used this for our data model, ER diagrams, jar dependencies, brew package dependencies, etc.
For class diagrams, I have a little python script that takes a language like:
Foo -> Bar
Bar *--1 Baz
Foo
- name : String
- flag : boolean
For class diagrams, I have a little python script that takes a language like:
And turns it into a diagram. (gist: https://gist.github.com/dunhamsteve/5274411 )