src/work/alpar/graph_to_eps.cc
changeset 1047 a6094968ed09
parent 1046 1bb1d4c87331
child 1050 bcc0766a7b86
     1.1 --- a/src/work/alpar/graph_to_eps.cc	Tue Jan 04 17:07:05 2005 +0000
     1.2 +++ b/src/work/alpar/graph_to_eps.cc	Tue Jan 04 17:16:35 2005 +0000
     1.3 @@ -205,7 +205,7 @@
     1.4    ListGraph::NodeMap<Xy> coords(g);
     1.5    ListGraph::NodeMap<double> sizes(g);
     1.6    ListGraph::NodeMap<int> colors(g);
     1.7 -  ListGraph::EdgeMap<int> ecolors(g,0);
     1.8 +  ListGraph::EdgeMap<int> ecolors(g);
     1.9    
    1.10    coords[n1]=Xy(50,50);  sizes[n1]=1; colors[n1]=1;
    1.11    coords[n2]=Xy(50,70);  sizes[n2]=2; colors[n2]=2;
    1.12 @@ -215,11 +215,11 @@
    1.13    
    1.14    Edge e;
    1.15  
    1.16 -  e=g.addEdge(n1,n2);
    1.17 -  e=g.addEdge(n2,n3);
    1.18 -  e=g.addEdge(n3,n5);
    1.19 -  e=g.addEdge(n5,n4);
    1.20 -  e=g.addEdge(n4,n1);
    1.21 +  e=g.addEdge(n1,n2); ecolors[e]=0;
    1.22 +  e=g.addEdge(n2,n3); ecolors[e]=0;
    1.23 +  e=g.addEdge(n3,n5); ecolors[e]=0;
    1.24 +  e=g.addEdge(n5,n4); ecolors[e]=0;
    1.25 +  e=g.addEdge(n4,n1); ecolors[e]=0;
    1.26    e=g.addEdge(n2,n4); ecolors[e]=1;
    1.27    e=g.addEdge(n3,n4); ecolors[e]=2;
    1.28