demo/grid_graph_demo.cc
changeset 1922 1ee37068316b
parent 1775 f19e108cb286
child 1956 a055123339d5
equal deleted inserted replaced
4:5792096125f6 5:3b474ca5917f
    67     path[bfs.predEdge(node)] = true;
    67     path[bfs.predEdge(node)] = true;
    68   }
    68   }
    69   
    69   
    70   graphToEps(filtered, "grid_graph_demo.eps").scaleToA4().
    70   graphToEps(filtered, "grid_graph_demo.eps").scaleToA4().
    71     title("Grid graph").
    71     title("Grid graph").
    72     copyright("(C) 2005 LEMON Project").
    72     copyright("(C) 2006 LEMON Project").
    73     coords(scaleMap(indexMap(graph), 10)).
    73     coords(scaleMap(indexMap(graph), 10)).
    74     enableParallel().
    74     enableParallel().
    75     nodeScale(0.5).
    75     nodeScale(0.5).
    76     drawArrows().
    76     drawArrows().
    77     edgeColors(composeMap(ColorSet(), path)).
    77     edgeColors(composeMap(ColorSet(), path)).