PlantUMLGenerator
PlantUML Generator is a Java application to automatically generate PlantUML class diagrams from source code.
Usage
- Download the PlantUMLGenerator jar.
- Download the PlantUML jar and place it in the same folder of the previous jar.
- Open a terminal and navigate to the location of both jars and choose one of the following commands.
1. Generate a class diagram for the entire project
java -jar PlantUMLGenerator.jar [PROJECT_ROOT_PATH] [OUTPUT_FILE_PATH].puml
View example
Example with Nice Places Android App:
java -jar PlantUMLGenerator.jar niceplaces-android-app/app/src/main/java niceplaces.puml
2. Generate a class diagram for a specific package of the project
java -jar PlantUMLGenerator.jar [PACKAGE_PATH] [OUTPUT_FILE_PATH].puml
View example
Example with Nice Places Android App
java -jar PlantUMLGenerator.jar niceplaces-android-app/app/src/main/java/com/niceplaces/niceplaces/activities niceplaces-activities.puml
3. Generate a class diagram for a specific class of the project
java -jar PlantUMLGenerator.jar [PROJECT_ROOT_PATH] [OUTPUT_FILE_PATH].puml [TARGET_CLASS_NAME]
View example
Example with Nice Places Android App
java -jar PlantUMLGenerator.jar niceplaces-android-app/app/src/main/java niceplaces-menuactivity.puml MenuActivity