code_uml 0.0.1 copy "code_uml: ^0.0.1" to clipboard
code_uml: ^0.0.1 copied to clipboard

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

CodeUML #

How to use #

The first step is to perform the installation:

dart pub global activate code_uml

Console #

Then you need to run the command to output the code to the console:

code_uml [<your_path_to_dir>] --console

For example:

code_uml /home/user/my_dir_code/first_dir  --console

or

code_uml /home/user/my_dir_code/first_dir /home/user/my_dir_code/first_dir --console

File #

If you want to output the result to a file, then run the command:

code_uml [<your_path_to_dir>] <path_output_file>

For example:

code_uml /home/user/my_dir_code/first_dir  /home/user/documents/uml.txt

Converter #

PlantUML #

This library supports PlantUML for drawing diagrams so far.

To convert the result to an svg file, download this library, then run the command:

Linux

Mac Os

brew install graphviz

Windows

Then

java -jar <path_to_jar_file> <path_your_file_with_uml_code> -svg

Example SVG

UML diagram of Provider.

16
likes
130
points
110
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)
View/report issues

Topics

#analysis

Documentation

API reference

License

MIT (license)

Dependencies

analyzer

More

Packages that depend on code_uml