1.1 --- a/demo/graph_to_eps_demo.cc Mon Jan 30 09:32:52 2006 +0000
1.2 +++ b/demo/graph_to_eps_demo.cc Mon Jan 30 09:37:41 2006 +0000
1.3 @@ -79,7 +79,9 @@
1.4 IdMap<ListGraph,Node> id(g);
1.5
1.6 cout << "Create 'graph_to_eps_demo_out.eps'" << endl;
1.7 - graphToEps(g,"graph_to_eps_demo_out.eps").scale(10).coords(coords).
1.8 + graphToEps(g,"graph_to_eps_demo_out.eps").
1.9 + //scale(10).
1.10 + coords(coords).
1.11 title("Sample .eps figure").
1.12 copyright("(C) 2006 LEMON Project").
1.13 nodeScale(2).nodeSizes(sizes).
1.14 @@ -92,7 +94,8 @@
1.15
1.16
1.17 cout << "Create 'graph_to_eps_demo_out_arr.eps'" << endl;
1.18 - graphToEps(g,"graph_to_eps_demo_out_arr.eps").scale(10).
1.19 + graphToEps(g,"graph_to_eps_demo_out_arr.eps").
1.20 + //scale(10).
1.21 title("Sample .eps figure (with arrowheads)").
1.22 copyright("(C) 2006 LEMON Project").
1.23 nodeColors(composeMap(colorSet,colors)).
1.24 @@ -117,7 +120,8 @@
1.25 e=g.addEdge(n1,n2); ecolors[e]=7; widths[e]=1;
1.26
1.27 cout << "Create 'graph_to_eps_demo_out_par.eps'" << endl;
1.28 - graphToEps(g,"graph_to_eps_demo_out_par.eps").scale(10).
1.29 + graphToEps(g,"graph_to_eps_demo_out_par.eps").
1.30 + //scale(10).
1.31 title("Sample .eps figure (parallel edges)").
1.32 copyright("(C) 2006 LEMON Project").
1.33 nodeShapes(shapes).
1.34 @@ -131,7 +135,8 @@
1.35 run();
1.36
1.37 cout << "Create 'graph_to_eps_demo_out_par_arr.eps'" << endl;
1.38 - graphToEps(g,"graph_to_eps_demo_out_par_arr.eps").scale(10).
1.39 + graphToEps(g,"graph_to_eps_demo_out_par_arr.eps").
1.40 + //scale(10).
1.41 title("Sample .eps figure (parallel edges and arrowheads)").
1.42 copyright("(C) 2006 LEMON Project").
1.43 nodeScale(2).nodeSizes(sizes).
1.44 @@ -172,7 +177,8 @@
1.45 }
1.46
1.47 cout << "Create 'graph_to_eps_demo_out_colors.eps'" << endl;
1.48 - graphToEps(h,"graph_to_eps_demo_out_colors.eps").scale(60).
1.49 + graphToEps(h,"graph_to_eps_demo_out_colors.eps").
1.50 + //scale(60).
1.51 title("Sample .eps figure (ColorSet demo)").
1.52 copyright("(C) 2006 LEMON Project").
1.53 coords(hcoords).