In script/test, style SVG graphs for readability

This commit is contained in:
Max Brunsfeld 2016-08-30 13:02:27 -07:00
parent 1d0f6c3cc0
commit 883a7c8266

View file

@ -100,7 +100,8 @@ case ${mode} in
;;
SVG)
$cmd "${args[@]}" 2> >(grep -v 'Assertion failed' | dot -Tsvg > index.html)
echo "<!DOCTYPE html><style>svg { width: 100%; margin-bottom: 20px; }</style>" > index.html
$cmd "${args[@]}" 2> >(grep -v 'Assertion failed' | dot -Tsvg >> index.html)
echo "Wrote index.html"
;;