diff -r f40343b498ef -r 4b25e7003868 demo/graph_orientation.cc --- a/demo/graph_orientation.cc Thu Aug 10 10:11:07 2006 +0000 +++ b/demo/graph_orientation.cc Thu Aug 10 10:18:04 2006 +0000 @@ -25,13 +25,7 @@ using namespace lemon; - -typedef ListGraph::Node Node; -typedef ListGraph::NodeIt NodeIt; -typedef ListGraph::Edge Edge; -typedef ListGraph::EdgeIt EdgeIt; -typedef ListGraph::OutEdgeIt OutEdgeIt; -typedef ListGraph::InEdgeIt InEdgeIt; +GRAPH_TYPEDEFS(ListGraph) int main(int argc, char** argv) { @@ -113,7 +107,7 @@ nodeScale(15). coords(coords). negateY(). - edgeColors(composeMap(ColorSet(),rev)). + edgeColors(composeMap(Palette(),rev)). edgeWidthScale(1). nodeTexts(f).nodeTextSize(20). drawArrows().arrowWidth(10).arrowLength(10).