equal
deleted
inserted
replaced
30 coos.push_back(Gnome::Art::Point(cm[g.source(i)].x,cm[g.source(i)].y)); |
30 coos.push_back(Gnome::Art::Point(cm[g.source(i)].x,cm[g.source(i)].y)); |
31 coos.push_back(Gnome::Art::Point(cm[g.target(i)].x,cm[g.target(i)].y)); |
31 coos.push_back(Gnome::Art::Point(cm[g.target(i)].x,cm[g.target(i)].y)); |
32 |
32 |
33 edgesmap[i]=new BrokenEdge(displayed_graph, coos, *this); |
33 edgesmap[i]=new BrokenEdge(displayed_graph, coos, *this); |
34 *(edgesmap[i]) << Gnome::Canvas::Properties::fill_color("green"); |
34 *(edgesmap[i]) << Gnome::Canvas::Properties::fill_color("green"); |
35 edgesmap[i]->property_width_pixels().set_value(10); |
35 edgesmap[i]->property_width_units().set_value(10); |
36 |
36 |
37 //initializing edge-text as well, to empty string |
37 //initializing edge-text as well, to empty string |
38 |
38 |
39 xy<double> text_pos=edgesmap[i]->getArrowPos(); |
39 xy<double> text_pos=edgesmap[i]->getArrowPos(); |
40 text_pos+=(xy<double>(10,10)); |
40 text_pos+=(xy<double>(10,10)); |