Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to generate a class diagram as an image. This package should read an input text file and generate the output. I don't want to draw it (so Dia is not the solution for my problem). I am searching for an equivalent for class diagrams simmilar to Graphviz with graphs.

share|improve this question

The closest thing I've run across so far is yuml.

It's got it's own particular syntax (and I've hit a few random snags every so often), but overall, it does a pretty good job, and it even provides a couple different styles and formats for output.

If items in your diagrams grow too large vertically, try forcing the diagram to a horizontal (dir:lr) direction.

Just be sure to save your original text, in case you lose the link(s) to your diagram(s).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.