Skip to content

Version 1.0

Latest
Compare
Choose a tag to compare
@lorenzovngl lorenzovngl released this 29 Dec 15:57
· 10 commits to main since this release

PlantUMLGenerator

GitHub release (by tag)

PlantUML Generator is a Java application to automatically generate PlantUML class diagrams from source code.

Example output

Usage

  1. Download the PlantUMLGenerator jar.
  2. Download the PlantUML jar and place it in the same folder of the previous jar.
  3. 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
View output

Example output

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
View output

Example output