PlantUML class generator for JavaScript
| Program | Function | Optional | Download |
|---|---|---|---|
| PlantUML | Render UML images; PNG, SVG, etc... | β | πΎ |
| Graphviz | Render linked UML images. | β | πΎ |
Download a copy of this repository to your system.
Git clone
git clone https://github.com/Justin-Byrne/ClassGenerator.gitHelp menu
python3 BuildClass.py {<source>} [<destination>] [flags] [args[|args...]]
PATHS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
source File or directory location of javascript file(s) to convert
usage:
(single) "/javascript/classes/one.js"
(multiple) "/javascript/classes"
destination File or directory location to save class diagrams
usage:
(single) "/javascript/classes/output/one.txt"
(multiple) "/javascript/classes/output"
FLAGS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
-o, --omit "<filename>" Omit the following filenames from the source directory
usage:
(single) --omit "file1"
(multiple) --omit "file1|file2|file3"
-s, --skin "<skinparam>" Embed skin parameters within the class uml generated
usage:
(single) --skin "skinparam+one+1"
(multiple) --skin "skinparam+one+1|skinparam+two+2"
-m, --make "<image_type>" Make the class generated diagram into an image
usage:
(single) --make "png"
(multiple) --make "png|svg|eps"
-l, --link Link available classes to generated class diagrams
usage: --link
-h, --help Display this help menu
usage: --help
Configurations settings for each generated file can be set within ../app/config/config.txt.
These settings are commented out by default
#### FILE OMISSIONS
filename_one
filename_two
filename_three
#### SKIN PARAM
left to right direction
skinparam DefaultFontSize 16
skinparam DefaultFontName Courier New
skinparam ClassAttributeIconSize 0
#### IMAGE OUTPUT
png
svg
eps
eps:text
pdf
vdx
xmi
scxml
html
txt
utxt
latex
latex:nopreamble
braille
#### PLANTUML PATH
path=~/Programs/PlantUML
Note: for best results use the following skin-params:
skinparam DefaultFontSize 16
skinparam DefaultFontName Courier New
python3 BuildClass.py ~/Programs/JavaScript/Classes/class.js -m "png"
python3 BuildClass.py ~/Programs/JavaScript/Classes/class.js -l -m "png"
Please open an issue for support.
.
βββ docs
βΒ Β βββ CHANGELOG.md
βΒ Β βββ FUNDING.yml
βββ source
βΒ Β βββ app
βΒ Β βββ config
βΒ Β βΒ Β βββ config.txt
βΒ Β βββ core
βΒ Β βΒ Β βββ generator.py
βΒ Β βΒ Β βββ linker.py
βΒ Β βββ utilities
βΒ Β βΒ Β βββ custom
βΒ Β βΒ Β βΒ Β βββ debug
βΒ Β βΒ Β βΒ Β βΒ Β βββ view_arguments.py
βΒ Β βΒ Β βΒ Β βββ filter
βΒ Β βΒ Β βΒ Β βΒ Β βββ filter_properties.py
βΒ Β βΒ Β βΒ Β βΒ Β βββ filter_type.py
βΒ Β βΒ Β βΒ Β βββ list
βΒ Β βΒ Β βΒ Β βΒ Β βββ get_column_max.py
βΒ Β βΒ Β βΒ Β βΒ Β βββ replace_value.py
βΒ Β βΒ Β βΒ Β βββ validation
βΒ Β βΒ Β βΒ Β βββ is_extension.py
βΒ Β βΒ Β βΒ Β βββ is_js_class.py
βΒ Β βΒ Β βββ system
βΒ Β βΒ Β βΒ Β βββ file
βΒ Β βΒ Β βΒ Β βΒ Β βββ get_file_bounds.py
βΒ Β βΒ Β βΒ Β βΒ Β βββ get_file_omissions.py
βΒ Β βΒ Β βΒ Β βΒ Β βββ get_files.py
βΒ Β βΒ Β βΒ Β βΒ Β βββ set_file.py
βΒ Β βΒ Β βΒ Β βββ validation
βΒ Β βΒ Β βΒ Β βΒ Β βββ is_directory.py
βΒ Β βΒ Β βΒ Β βΒ Β βββ is_file.py
βΒ Β βΒ Β βΒ Β βΒ Β βββ is_flag.py
βΒ Β βΒ Β βΒ Β βΒ Β βββ is_program.py
βΒ Β βΒ Β βΒ Β βββ get_command_type.py
βΒ Β βΒ Β βΒ Β βββ get_commands.py
βΒ Β βΒ Β βΒ Β βββ parse_commands.py
βΒ Β βΒ Β βββ util.py
βΒ Β βββ BuildClass.py
βββ LICENSE
βββ README.md
== Byrne-Systems Β© 2024 - All rights reserved. ==


