1.1 --- a/gui/graph_displayer_canvas.cc Wed Jun 15 11:15:01 2005 +0000
1.2 +++ b/gui/graph_displayer_canvas.cc Wed Jun 15 13:05:09 2005 +0000
1.3 @@ -1,4 +1,5 @@
1.4 #include <graph_displayer_canvas.h>
1.5 +#include <broken_edge.h>
1.6 #include <math.h>
1.7
1.8 GraphDisplayerCanvas::GraphDisplayerCanvas(Graph & gr, CoordinatesMap & cm, MapStorage & ms):g(gr),nodesmap(g),edgesmap(g),edgetextmap(g),displayed_graph(*(root()), 0, 0),mapstorage(ms),isbutton(false),active_item(NULL),target_item(NULL)
1.9 @@ -22,7 +23,8 @@
1.10 coos.push_back(Gnome::Art::Point(cm[g.source(i)].x,cm[g.source(i)].y));
1.11 coos.push_back(Gnome::Art::Point(cm[g.target(i)].x,cm[g.target(i)].y));
1.12
1.13 - edgesmap[i]=new Gnome::Canvas::Line(displayed_graph, coos);
1.14 + //edgesmap[i]=new Gnome::Canvas::Line(displayed_graph, coos);
1.15 + edgesmap[i]=new BrokenEdge(displayed_graph, coos);
1.16 *(edgesmap[i]) << Gnome::Canvas::Properties::fill_color("green");
1.17 edgesmap[i]->property_width_pixels().set_value(10);
1.18