1.1 --- a/demo/graph_orientation.cc Thu Aug 10 10:11:07 2006 +0000
1.2 +++ b/demo/graph_orientation.cc Thu Aug 10 10:18:04 2006 +0000
1.3 @@ -25,13 +25,7 @@
1.4
1.5 using namespace lemon;
1.6
1.7 -
1.8 -typedef ListGraph::Node Node;
1.9 -typedef ListGraph::NodeIt NodeIt;
1.10 -typedef ListGraph::Edge Edge;
1.11 -typedef ListGraph::EdgeIt EdgeIt;
1.12 -typedef ListGraph::OutEdgeIt OutEdgeIt;
1.13 -typedef ListGraph::InEdgeIt InEdgeIt;
1.14 +GRAPH_TYPEDEFS(ListGraph)
1.15
1.16 int main(int argc, char** argv)
1.17 {
1.18 @@ -113,7 +107,7 @@
1.19 nodeScale(15).
1.20 coords(coords).
1.21 negateY().
1.22 - edgeColors(composeMap(ColorSet(),rev)).
1.23 + edgeColors(composeMap(Palette(),rev)).
1.24 edgeWidthScale(1).
1.25 nodeTexts(f).nodeTextSize(20).
1.26 drawArrows().arrowWidth(10).arrowLength(10).