diff -r 4fa618f7aa69 -r dc4ea2010dee gui/graph_displayer_canvas-edge.cc --- a/gui/graph_displayer_canvas-edge.cc Thu Jul 28 19:09:39 2005 +0000 +++ b/gui/graph_displayer_canvas-edge.cc Fri Jul 29 12:01:37 2005 +0000 @@ -1,5 +1,5 @@ -#include -#include +#include "graph_displayer_canvas.h" +#include "broken_edge.h" #include @@ -12,7 +12,7 @@ { min=edge_property_defaults[E_WIDTH]; max=edge_property_defaults[E_WIDTH]; - actual_map=new Graph::EdgeMap(g,edge_property_defaults[E_WIDTH]); + actual_map=new Graph::EdgeMap(mapstorage.graph,edge_property_defaults[E_WIDTH]); } else { @@ -23,7 +23,7 @@ if(edge==INVALID) { - for (EdgeIt i(g); i!=INVALID; ++i) + for (EdgeIt i(mapstorage.graph); i!=INVALID; ++i) { double v=abs((*actual_map)[i]); int w; @@ -58,7 +58,7 @@ Graph::EdgeMap * actual_map; if(mapname=="Default") { - actual_map=new Graph::EdgeMap(g,edge_property_defaults[E_COLOR]); + actual_map=new Graph::EdgeMap(mapstorage.graph,edge_property_defaults[E_COLOR]); } else { @@ -80,7 +80,7 @@ if(edge==INVALID) { - for (EdgeIt i(g); i!=INVALID; ++i) + for (EdgeIt i(mapstorage.graph); i!=INVALID; ++i) { double w=(*actual_map)[i]; @@ -125,7 +125,7 @@ if(edge==INVALID) { - for (EdgeIt i(g); i!=INVALID; ++i) + for (EdgeIt i(mapstorage.graph); i!=INVALID; ++i) { if(mapname!="Default") {