demo/coloring.cc
changeset 2379 248152674a9e
parent 2269 fb1c634fff29
child 2391 14a343be7a5a
equal deleted inserted replaced
15:83e1d33da94c 16:c8e582cbb460
    98   }
    98   }
    99 
    99 
   100   Palette palette;
   100   Palette palette;
   101 
   101 
   102   graphToEps(graph, "coloring.eps").
   102   graphToEps(graph, "coloring.eps").
   103     title("Six Colored Plan Graph").copyright("(C) 2006 LEMON Project").
   103     title("Six Colored Planar Graph").
       
   104     copyright("(C) 2006 LEMON Project").
   104     coords(coords).nodeColors(composeMap(palette, color)).
   105     coords(coords).nodeColors(composeMap(palette, color)).
   105     nodeScale(5.0).scaleToA4().run();
   106     nodeScale(5.0).scaleToA4().run();
   106 
   107 
   107   return 0;
   108   return 0;
   108 }
   109 }