From b4114c3e786cf9c90b9c81cb4594d7775a266f5d Mon Sep 17 00:00:00 2001 From: Ajax Date: Mon, 9 Nov 2015 14:49:51 +0100 Subject: Example: move output .txt to .dot --- example/expression/graph_dataflow.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'example/expression/graph_dataflow.py') diff --git a/example/expression/graph_dataflow.py b/example/expression/graph_dataflow.py index 1450b33b..e263a40e 100644 --- a/example/expression/graph_dataflow.py +++ b/example/expression/graph_dataflow.py @@ -139,7 +139,7 @@ def gen_bloc_data_flow_graph(ir_arch, ad, block_flow_cb): # from graph_qt import graph_qt # graph_qt(flow_graph) - open('data.txt', 'w').write(flow_graph.dot()) + open('data.dot', 'w').write(flow_graph.dot()) data = open(args.filename).read() @@ -175,8 +175,8 @@ gen_bloc_data_flow_graph(ir_arch, ad, block_flow_cb) print '*' * 40 print """ View with: -dotty dataflow.txt +dotty dataflow.dot or Generate ps with pdf: -dot -Tps dataflow_xx.txt -o graph.ps +dot -Tps dataflow_xx.dot -o graph.ps """ -- cgit 1.4.1