COIN-OR::LEMON - Graph Library

Changeset 2172:4b25e7003868 in lemon-0.x for demo/graph_orientation.cc


Ignore:
Timestamp:
08/10/06 12:18:04 (13 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2887
Message:
  • Change ColorSet? to Palette
  • Minor change in graph_orientation demo.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • demo/graph_orientation.cc

    r2158 r2172  
    2626using namespace lemon;
    2727 
    28 
    29 typedef ListGraph::Node Node;
    30 typedef ListGraph::NodeIt NodeIt;
    31 typedef ListGraph::Edge Edge;
    32 typedef ListGraph::EdgeIt EdgeIt;
    33 typedef ListGraph::OutEdgeIt OutEdgeIt;
    34 typedef ListGraph::InEdgeIt InEdgeIt;
     28GRAPH_TYPEDEFS(ListGraph)
    3529
    3630int main(int argc, char** argv)
     
    114108    coords(coords).
    115109    negateY().
    116     edgeColors(composeMap(ColorSet(),rev)).
     110    edgeColors(composeMap(Palette(),rev)).
    117111    edgeWidthScale(1).
    118112    nodeTexts(f).nodeTextSize(20).
Note: See TracChangeset for help on using the changeset viewer.