code_uml 1.0.2 copy "code_uml: ^1.0.2" to clipboard
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
copied to clipboard

Selecting a UML service #

PlantUML #

> code_uml --from=[<your_path_to_dir_input>] --to=[<your_path_to_dir_output>] --uml=plantuml
copied to clipboard

Mermaid #

> code_uml --from=[<your_path_to_dir_input>] --to=[<your_path_to_dir_output>] --uml=mermaid
copied to clipboard

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>]
copied to clipboard

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
copied to clipboard

Example #

UML diagram

17
likes
150
points
102
downloads

Publisher

unverified uploader

Weekly Downloads

2024.12.04 - 2025.10.29

This package help you build UML diagram. You have to copy result from result file and paste in PlantUML

Repository (GitHub)
View/report issues

Topics

#analysis #uml #diagram #generate

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, args, io, path

More

Packages that depend on code_uml