Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

A tool to automatically generate a UML diagram for a Rails Application

Looking for a good tool/gem that can automatically generate a nice looking UML diagram for an existing rails application.

(Im imagining such a tool would read the schema.rb file and then scan the models for relationships)

like image 711
Evolve Avatar asked Sep 14 '10 03:09

Evolve


People also ask

Which tool is most useful to create a UML use case diagram?

You can create a UML use case diagram in Visio to summarize how users (or actors) interact with a system, such as a software application.

How do you create a class diagram automatically?

To build a class diagram, all you have to do is launch the Smartdraw's Automatic Class Diagram extension and point it at your repository. Load your source code and choose which files you want to include in your diagram. Click "Build Diagram" and you're done.


2 Answers

For Rails 3, try Railroady, it's maintained as well.

like image 114
Tom Hartwell Avatar answered Oct 08 '22 14:10

Tom Hartwell


You could try Rails ERD as a an alternative to Railroad. It is maintained and works specifically for Rails 3.

like image 36
Evolve Avatar answered Oct 08 '22 14:10

Evolve