code_uml 1.0.2
code_uml: ^1.0.2 copied to clipboard
This package help you build UML diagram. You have to copy result from result file and paste in PlantUML
CodeUML #
A command line tool to generate class uml diagram from dart code. The tool supports PlantUml and mermaid.
Unrealized features #
- Generics
- Getters, Setters
- Enum
- Global functions, variables
How to use #
The first step is to perform the installation:
> dart pub global activate code_uml
Selecting a UML service #
PlantUML #
> code_uml --from=[<your_path_to_dir_input>] --to=[<your_path_to_dir_output>] --uml=plantuml
Mermaid #
> code_uml --from=[<your_path_to_dir_input>] --to=[<your_path_to_dir_output>] --uml=mermaid
Output #
File output #
Then you need to run the command to output the code to the console:
> code_uml --from=[<your_path_to_dir_input>] --to=[<your_path_to_dir_output>]
Console output #
Then you need to run the command to output the code to the console:
> code_uml --from=[<your_path_to_dir_input>] --to=console