UML Generator provides APIs for generating UML diagrams from java source. The UML Generator uses plantuml and graphviz liraries for generating diagrams. The utility outputs UML in following format files:
- Plantuml text file (.plantuml) - Any plantuml standard viewer can be used to view the UML diagram.
- Diagram UML file (.png)
The library supports following UML diagrams:
![ScreenShot](https://github.com/suken/UmlGeneratorTool/blob/master/UmlGeneratorTool/icons/ClassDiagramIcon.png) The class diagram generates the followings:- Fields if {@code fieldsIncluded} set to TRUE
- Methods if {@code methodIncluded} set TRUE
- Parent class depedencies
- Implemented interfaces
- Composite class dependencies
- Autowired depedencies
- Required depedencies
- Resource depedencies
- Component classes
- Controller classes
- Service classes
- Repository classes
- Bean classes
- Configuration classes
- Additional comments are provided for class level annotations.
- Persistent entity types (ENTITY, TABLE or MAPPED SUPER CLASSES)
- Inheritance of persistent entities.
- Mapped relationships (OntToOne, ManyToOne, OneToMany)
- Database table name
- Mapped database columns
- Identifier columns
![ScreenShot](https://github.com/suken/UmlGeneratorTool/blob/master/Resources/SampleComponentDiagram.png) If the UML diagram is too complicated then the GraphViz may not generate the PNG file. Try opening the plantuml file in plantuml eclipse plugin.
The UmlGeneratorTool is an Eclipse plugin to allow developers to generate UML diagrams from eclipse projects. The Eclipse plugin is compatible with Eclipse 3.5+ distributions. If you are using older version of Eclipse than God Bless You ;)
Under construction. I am still setting up the maven repository for the two UML projects. Its too early for me to start releasing versions officially. But if you really feel like trying the tool out then simply import UmlGeneratorTool project in you eclipse and then export it as "Deployable plug-ins and fragments" into your eclipse plugin directory. All the available UML diagrams can be generated from project contextual menu. Here is a screen shot:![ScreenShot](https://github.com/suken/UmlGeneratorTool/blob/master/Resources/UmlGeneratorMenu.png)
Each diagram has its own options for UML generation. Please refer to the following: