graph_displayer_canvas.cc
changeset 147 10ef59f6633c
parent 118 cfd49e5c8723
child 149 930e838ad5b6
equal deleted inserted replaced
37:4c73c36fed76 38:b70142150d7d
   167     coos.push_back(Gnome::Art::Point(
   167     coos.push_back(Gnome::Art::Point(
   168           (mytab.mapstorage).coords[(mytab.mapstorage).graph.target(i)].x,
   168           (mytab.mapstorage).coords[(mytab.mapstorage).graph.target(i)].x,
   169           (mytab.mapstorage).coords[(mytab.mapstorage).graph.target(i)].y));
   169           (mytab.mapstorage).coords[(mytab.mapstorage).graph.target(i)].y));
   170     
   170     
   171     edgesmap[i]=new BrokenEdge(displayed_graph, i, *this);
   171     edgesmap[i]=new BrokenEdge(displayed_graph, i, *this);
   172     *(edgesmap[i]) << Gnome::Canvas::Properties::fill_color("green");
       
   173     edgesmap[i]->property_width_units().set_value(10);    
       
   174     edgesmap[i]->lower_to_bottom();
       
   175     
   172     
   176     //initializing edge-text as well, to empty string
   173     //initializing edge-text as well, to empty string
   177 
   174 
   178     XY text_pos=mytab.mapstorage.arrow_pos[i];
   175     XY text_pos=mytab.mapstorage.arrow_pos[i];
   179     text_pos+=(XY(10,10));
   176     text_pos+=(XY(10,10));