We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e5755c6 + a704fdb commit 410c6fbCopy full SHA for 410c6fb
utils/viewcfg
@@ -34,6 +34,8 @@ import subprocess
34
import sys
35
import tempfile
36
37
+fontname = "helvetica"
38
+
39
40
class Block(object):
41
@@ -152,6 +154,9 @@ def main():
152
154
file_name = tempfile.gettempdir() + "/viewcfg" + suffix + ".dot"
153
155
with open(file_name, 'w') as out_file:
156
out_file.write('digraph "CFG" {\n')
157
+ out_file.write("""graph [fontname = "{font}"];
158
+ node [fontname = "{font}"];
159
+ edge [fontname = "{font}"];""".format(font=fontname))
160
for block in block_list:
161
if block.content is not None:
162
out_file.write(
0 commit comments