Free utility which runs in Linux to create a UML class diagram from Java source files
Posted
by DeletedAccount
on Stack Overflow
See other posts from Stack Overflow
or by DeletedAccount
Published on 2009-04-10T12:04:49Z
Indexed on
2010/06/13
15:32 UTC
Read the original article
Hit count: 277
I prefer to jot down UML-diagrams on paper and then implement them using Java. It would be nice to have a utility which could create UML-diagrams for me which I may share on-line and include in the digital documentation. In other words: I want to create UML diagrams from Java source code.
The utility must be able to:
- Run in Linux.
- Handle Generics, i.e show List<Foo> correctly in parameters and return type.
- Show class inheritance and interface implementations.
It's nice if the utility is able to:
- Run in Windows and Mac OS X.
- Display enums in some nice manner.
- Generate output in a diagram format which I may modify using some other utility.
- Run from the command line.
- Restrict the UML generation to a set of packages which I may specify.
- Handle classes/interfaces which are not part of my source code. It could include the first class/interface which is external in the UML diagram. Perhaps in another color to indicate it being a library/framework created by someone else.
- Focuses on this task and doesn't try to solve the whole issue of documentation.
© Stack Overflow or respective owner