COIN-OR::LEMON - Graph Library

Ignore:
Timestamp:
01/28/05 10:09:59 (20 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1502
Message:

Add a 'scaleToA4()' function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/demo/graph_to_eps_demo.cc

    r1091 r1103  
    141141    nodeTexts(id).nodeTextSize(3).
    142142    enableParallel().parEdgeDist(1).
    143     //    hideNodes().
    144143    drawArrows().arrowWidth(1).arrowLength(1).
    145     run();;
     144    run();
     145
     146  graphToEps(g,"graph_to_eps_demo_out_a4.eps").scaleToA4().
     147    nodeScale(2).nodeSizes(sizes).
     148    coords(coords).
     149    nodeShapes(shapes).
     150    nodeColors(composeMap(colorSet,colors)).
     151    edgeColors(composeMap(colorSet,ecolors)).
     152    edgeWidthScale(.3).edgeWidths(widths).
     153    nodeTexts(id).nodeTextSize(3).
     154    enableParallel().parEdgeDist(1).
     155    drawArrows().arrowWidth(1).arrowLength(1).
     156    run();
     157
    146158}
Note: See TracChangeset for help on using the changeset viewer.