demo/grid_ugraph_demo.cc
changeset 2191 ef3560193856
parent 1979 c2992fd74dad
child 2207 75a29ac69c19
equal deleted inserted replaced
0:648975a6247b 1:c58781115e68
    90     copyright("(C) 2006 LEMON Project").
    90     copyright("(C) 2006 LEMON Project").
    91     coords(scaleMap(indexMap(ugraph), 10)).
    91     coords(scaleMap(indexMap(ugraph), 10)).
    92     enableParallel().
    92     enableParallel().
    93     nodeScale(0.5).
    93     nodeScale(0.5).
    94     drawArrows().
    94     drawArrows().
    95     edgeColors(composeMap(ColorSet(), path)).
    95     edgeColors(composeMap(Palette(), path)).
    96     run();
    96     run();
    97   
    97   
    98   std::cout << "The shortest path is written to grid_ugraph_demo.eps" 
    98   std::cout << "The shortest path is written to grid_ugraph_demo.eps" 
    99 	    << std::endl;
    99 	    << std::endl;
   100 
   100