|
|
|
@ -121,7 +121,7 @@ echo "$module_paths" | while read -r module_path; do
|
|
|
|
|
-Pmodules.graph.output.gv="/tmp/${file_name}.gv" \
|
|
|
|
|
-Pmodules.graph.of.module="${module_path}" </dev/null
|
|
|
|
|
|
|
|
|
|
# Convert to SVG using dot, then compress and cleanup output
|
|
|
|
|
# Convert to SVG using dot, and cleanup/compress using svgo
|
|
|
|
|
dot -Tsvg "/tmp/${file_name}.gv" |
|
|
|
|
|
svgo --multipass --pretty --output="docs/images/graphs/${file_name}.svg" -
|
|
|
|
|
# Remove the temporary .gv file
|
|
|
|
|