Commit 0fc3da98 authored by Carsten Emde's avatar Carsten Emde
Browse files

Graphviz (the dot program) also does not accept dashes, the only accepted...

Graphviz (the dot program) also does not accept dashes, the only accepted special character is underline
parent 4878ccea
......@@ -204,7 +204,7 @@ def createoutput(outputdir, outputformat, machine_to_binary, linked_libraries,
outputfileopen.write("<graph defaultedgetype=\"directed\" idtype=\"string\" type=\"static\">\n")
outputfileopen.write("<nodes>\n")
elif outputformat == 'gv':
outputfileopen.write("digraph " + os.path.basename(limitsearch[0]).replace('.', '-') + " {\n ratio=0.562;\n")
outputfileopen.write("digraph " + os.path.basename(limitsearch[0]).replace('.', '_') + " {\n ratio=0.562;\n")
if fontname is not None:
outputfileopen.write(" graph [fontname=\"" + fontname + "\"];\n")
outputfileopen.write(" node [fontname=\"" + fontname + "\"];\n")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment