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

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

Example #

UML diagram

16
likes
150
points
238
downloads

Publisher

unverified uploader

Weekly Downloads

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

Repository (GitHub)

Topics

#analysis #uml #diagram #generate

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, args, io, path

More

Packages that depend on code_uml