ignore (Sys.command "dot -o tests/trace/trace.svg -Tsvg tests/trace/trace.dot");
ignore (Sys.command "./tools/add_onclick.sh tests/trace/trace.svg > tests/trace/trace2.svg");
fprintf ohtml "var activate = function (id) {\
ignore (Sys.command "dot -o tests/trace/trace.svg -Tsvg tests/trace/trace.dot");
ignore (Sys.command "./tools/add_onclick.sh tests/trace/trace.svg > tests/trace/trace2.svg");
fprintf ohtml "var activate = function (id) {\