Commit 7cf0624e authored by Carsten Emde's avatar Carsten Emde
Browse files

In Graphiz output removed label from link lines and added 16:9 aspect ratio

parent 9fbc54ed
......@@ -154,7 +154,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]) + " {\n")
outputfileopen.write("digraph " + os.path.basename(limitsearch[0]) + " {\n ratio=0.562\n")
seenfirst = False
......@@ -213,7 +213,7 @@ def createoutput(outputdir, outputformat, machine_to_binary, linked_libraries,
outputfileopen.write("<edge id=\"%s\" source=\"%s\" target=\"%s\" label=\"links with\"/>" % (elf_to_placeholder[filename] + elf_to_placeholder[fl],
elf_to_placeholder[filename], elf_to_placeholder[fl]))
elif outputformat == 'gv':
outputfileopen.write(" %s -> %s [label=\"linkswith\"];" % (elf_to_placeholder[filename], elf_to_placeholder[fl]))
outputfileopen.write(" %s -> %s;" % (elf_to_placeholder[filename], elf_to_placeholder[fl]))
elif outputformat == 'text':
outputfileopen.write("%s LINKSWITH %s" % (filename, fl))
if fl not in linked_from:
......
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