src/demo/graph_to_eps_demo.cc
changeset 1108 253b66e7e41d
parent 1103 f196dc4f1b31
child 1164 80bb73097736
     1.1 --- a/src/demo/graph_to_eps_demo.cc	Sat Jan 29 15:09:41 2005 +0000
     1.2 +++ b/src/demo/graph_to_eps_demo.cc	Sat Jan 29 23:22:02 2005 +0000
     1.3 @@ -90,6 +90,8 @@
     1.4    IdMap id(g);
     1.5  
     1.6    graphToEps(g,"graph_to_eps_demo_out.eps").scale(10).coords(coords).
     1.7 +    title("Sample .eps figure").
     1.8 +    copyright("(C) 2004 LEMON Project").
     1.9      nodeScale(2).nodeSizes(sizes).
    1.10      nodeShapes(shapes).
    1.11      nodeColors(composeMap(colorSet,colors)).
    1.12 @@ -99,6 +101,8 @@
    1.13      run();
    1.14  
    1.15    graphToEps(g,"graph_to_eps_demo_out_arr.eps").scale(10).
    1.16 +    title("Sample .eps figure (with arrowheads)").
    1.17 +    copyright("(C) 2004 LEMON Project").
    1.18      nodeColors(composeMap(colorSet,colors)).
    1.19      coords(coords).
    1.20      nodeScale(2).nodeSizes(sizes).
    1.21 @@ -121,6 +125,8 @@
    1.22    e=g.addEdge(n1,n2); ecolors[e]=7; widths[e]=1;
    1.23  
    1.24    graphToEps(g,"graph_to_eps_demo_out_par.eps").scale(10).
    1.25 +    title("Sample .eps figure (parallel edges)").
    1.26 +    copyright("(C) 2004 LEMON Project").
    1.27      nodeShapes(shapes).
    1.28      coords(coords).
    1.29      nodeScale(2).nodeSizes(sizes).
    1.30 @@ -132,6 +138,8 @@
    1.31      run();
    1.32    
    1.33    graphToEps(g,"graph_to_eps_demo_out_par_arr.eps").scale(10).
    1.34 +    title("Sample .eps figure (parallel edges and arrowheads)").
    1.35 +    copyright("(C) 2004 LEMON Project").
    1.36      nodeScale(2).nodeSizes(sizes).
    1.37      coords(coords).
    1.38      nodeShapes(shapes).
    1.39 @@ -144,6 +152,8 @@
    1.40      run();
    1.41  
    1.42    graphToEps(g,"graph_to_eps_demo_out_a4.eps").scaleToA4().
    1.43 +    title("Sample .eps figure (fits to A4)").
    1.44 +    copyright("(C) 2004 LEMON Project").
    1.45      nodeScale(2).nodeSizes(sizes).
    1.46      coords(coords).
    1.47      nodeShapes(shapes).