Changeset 1047:a6094968ed09 in lemon-0.x
- Timestamp:
- 01/04/05 18:16:35 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1441
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/work/alpar/graph_to_eps.cc
r1046 r1047 206 206 ListGraph::NodeMap<double> sizes(g); 207 207 ListGraph::NodeMap<int> colors(g); 208 ListGraph::EdgeMap<int> ecolors(g ,0);208 ListGraph::EdgeMap<int> ecolors(g); 209 209 210 210 coords[n1]=Xy(50,50); sizes[n1]=1; colors[n1]=1; … … 216 216 Edge e; 217 217 218 e=g.addEdge(n1,n2); 219 e=g.addEdge(n2,n3); 220 e=g.addEdge(n3,n5); 221 e=g.addEdge(n5,n4); 222 e=g.addEdge(n4,n1); 218 e=g.addEdge(n1,n2); ecolors[e]=0; 219 e=g.addEdge(n2,n3); ecolors[e]=0; 220 e=g.addEdge(n3,n5); ecolors[e]=0; 221 e=g.addEdge(n5,n4); ecolors[e]=0; 222 e=g.addEdge(n4,n1); ecolors[e]=0; 223 223 e=g.addEdge(n2,n4); ecolors[e]=1; 224 224 e=g.addEdge(n3,n4); ecolors[e]=2;
Note: See TracChangeset
for help on using the changeset viewer.