graph_displayer_canvas.cc
changeset 150 86273bfe0e4d
parent 149 930e838ad5b6
child 151 72f1c33f89d4
equal deleted inserted replaced
39:dea709901a93 40:2dabb849fb9d
   197     *(nodesmap[i]) << Gnome::Canvas::Properties::outline_color("black");
   197     *(nodesmap[i]) << Gnome::Canvas::Properties::outline_color("black");
   198     nodesmap[i]->raise_to_top();
   198     nodesmap[i]->raise_to_top();
   199 
   199 
   200     //initializing edge-text as well, to empty string
   200     //initializing edge-text as well, to empty string
   201 
   201 
   202     xy<double> text_pos(
   202     XY text_pos(
   203         ((mytab.mapstorage).coords[i].x+node_property_defaults[N_RADIUS]+5),
   203         ((mytab.mapstorage).coords[i].x+node_property_defaults[N_RADIUS]+5),
   204         ((mytab.mapstorage).coords[i].y+node_property_defaults[N_RADIUS]+5));
   204         ((mytab.mapstorage).coords[i].y+node_property_defaults[N_RADIUS]+5));
   205 
   205 
   206     nodetextmap[i]=new Gnome::Canvas::Text(displayed_graph,
   206     nodetextmap[i]=new Gnome::Canvas::Text(displayed_graph,
   207         text_pos.x, text_pos.y, "");
   207         text_pos.x, text_pos.y, "");