aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorYakov Goldberg <yakov.g@samsung.com>2012-11-18 11:01:50 +0200
committerYakov Goldberg <yakov.g@samsung.com>2012-11-18 11:01:50 +0200
commit4cf9f6acc1cea5fd19171f7749d3f4251c5f0560 (patch)
tree38379eb7af257ec6b22f42f2a6c2753175656bb0 /bin
parentexample update (diff)
downloadeo_bindings-4cf9f6acc1cea5fd19171f7749d3f4251c5f0560.tar.gz
Graph gen minor fix
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
Diffstat (limited to 'bin')
-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():
if parent in graph:
p_type = graph[parent].eo_type
else:
- p_type = types["REGULAR"]
+ p_type = TYPE_REGULAR
line = " \"%s\" -> \"%s\" [style = \"%s\", color=\"%s\"];"%(n, parent, "solid", n_color[p_type])
lines.append(line)
for l in ext:
@@ -194,13 +194,11 @@ def main():
verbose_print("Dot file: '%s' was generated"%(tmp_dot_file))
verbose_print("Graph file: '%s was generated"%(outfile))
os.system("dot -Tpng %s -o %s"%(tmp_dot_file, outfile))
- """
os.system("neato -Tpng %s -o %s_neato"%(tmp_dot_file, outfile))
os.system("twopi -Tpng %s -o %s_twopi"%(tmp_dot_file, outfile))
os.system("circo -Tpng %s -o %s_circo"%(tmp_dot_file, outfile))
os.system("fdp -Tpng %s -o %s_fdp"%(tmp_dot_file, outfile))
os.system("sfdp -Tpng %s -o %s_sfdp"%(tmp_dot_file, outfile))
- """
if __name__ == "__main__":
main()