|
|
|
@ -115,10 +115,10 @@ echo "$module_paths" | while read -r module_path; do
|
|
|
|
|
|
|
|
|
|
# Convert to SVG using dot, remove unnecessary comments, and reformat
|
|
|
|
|
dot -Tsvg "/tmp/${file_name}.gv" |
|
|
|
|
|
sed 's/<!--/\x0<!--/g;s/-->/-->\x0/g' | grep -zv '^<!--' | tr -d '\0' |
|
|
|
|
|
sed -e 's/<!--.*//g' -e 's/-->.*//g' | grep -zv '^<!--' | tr -d '\0' |
|
|
|
|
|
xmllint --format - \
|
|
|
|
|
> "docs/images/graphs/${file_name}.svg"
|
|
|
|
|
# Remove the temporary .gv file
|
|
|
|
|
rm "/tmp/${file_name}.gv"
|
|
|
|
|
fi
|
|
|
|
|
done
|
|
|
|
|
done
|
|
|
|
|