summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/eo_graph_gen.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/eo_graph_gen.py b/bin/eo_graph_gen.py
index dbedd3e..3d3305d 100755
--- a/bin/eo_graph_gen.py
+++ b/bin/eo_graph_gen.py
@@ -171,7 +171,7 @@ def main():
171 if parent in graph: 171 if parent in graph:
172 p_type = graph[parent].eo_type 172 p_type = graph[parent].eo_type
173 else: 173 else:
174 p_type = types["REGULAR"] 174 p_type = TYPE_REGULAR
175 line = " \"%s\" -> \"%s\" [style = \"%s\", color=\"%s\"];"%(n, parent, "solid", n_color[p_type]) 175 line = " \"%s\" -> \"%s\" [style = \"%s\", color=\"%s\"];"%(n, parent, "solid", n_color[p_type])
176 lines.append(line) 176 lines.append(line)
177 for l in ext: 177 for l in ext:
@@ -194,13 +194,11 @@ def main():
194 verbose_print("Dot file: '%s' was generated"%(tmp_dot_file)) 194 verbose_print("Dot file: '%s' was generated"%(tmp_dot_file))
195 verbose_print("Graph file: '%s was generated"%(outfile)) 195 verbose_print("Graph file: '%s was generated"%(outfile))
196 os.system("dot -Tpng %s -o %s"%(tmp_dot_file, outfile)) 196 os.system("dot -Tpng %s -o %s"%(tmp_dot_file, outfile))
197 """
198 os.system("neato -Tpng %s -o %s_neato"%(tmp_dot_file, outfile)) 197 os.system("neato -Tpng %s -o %s_neato"%(tmp_dot_file, outfile))
199 os.system("twopi -Tpng %s -o %s_twopi"%(tmp_dot_file, outfile)) 198 os.system("twopi -Tpng %s -o %s_twopi"%(tmp_dot_file, outfile))
200 os.system("circo -Tpng %s -o %s_circo"%(tmp_dot_file, outfile)) 199 os.system("circo -Tpng %s -o %s_circo"%(tmp_dot_file, outfile))
201 os.system("fdp -Tpng %s -o %s_fdp"%(tmp_dot_file, outfile)) 200 os.system("fdp -Tpng %s -o %s_fdp"%(tmp_dot_file, outfile))
202 os.system("sfdp -Tpng %s -o %s_sfdp"%(tmp_dot_file, outfile)) 201 os.system("sfdp -Tpng %s -o %s_sfdp"%(tmp_dot_file, outfile))
203 """
204 202
205if __name__ == "__main__": 203if __name__ == "__main__":
206 main() 204 main()