1.1 --- a/gui/graph_displayer_canvas-edge.cc Thu Jul 28 19:09:39 2005 +0000
1.2 +++ b/gui/graph_displayer_canvas-edge.cc Fri Jul 29 12:01:37 2005 +0000
1.3 @@ -1,5 +1,5 @@
1.4 -#include <graph_displayer_canvas.h>
1.5 -#include <broken_edge.h>
1.6 +#include "graph_displayer_canvas.h"
1.7 +#include "broken_edge.h"
1.8 #include <math.h>
1.9
1.10
1.11 @@ -12,7 +12,7 @@
1.12 {
1.13 min=edge_property_defaults[E_WIDTH];
1.14 max=edge_property_defaults[E_WIDTH];
1.15 - actual_map=new Graph::EdgeMap<double>(g,edge_property_defaults[E_WIDTH]);
1.16 + actual_map=new Graph::EdgeMap<double>(mapstorage.graph,edge_property_defaults[E_WIDTH]);
1.17 }
1.18 else
1.19 {
1.20 @@ -23,7 +23,7 @@
1.21
1.22 if(edge==INVALID)
1.23 {
1.24 - for (EdgeIt i(g); i!=INVALID; ++i)
1.25 + for (EdgeIt i(mapstorage.graph); i!=INVALID; ++i)
1.26 {
1.27 double v=abs((*actual_map)[i]);
1.28 int w;
1.29 @@ -58,7 +58,7 @@
1.30 Graph::EdgeMap<double> * actual_map;
1.31 if(mapname=="Default")
1.32 {
1.33 - actual_map=new Graph::EdgeMap<double>(g,edge_property_defaults[E_COLOR]);
1.34 + actual_map=new Graph::EdgeMap<double>(mapstorage.graph,edge_property_defaults[E_COLOR]);
1.35 }
1.36 else
1.37 {
1.38 @@ -80,7 +80,7 @@
1.39
1.40 if(edge==INVALID)
1.41 {
1.42 - for (EdgeIt i(g); i!=INVALID; ++i)
1.43 + for (EdgeIt i(mapstorage.graph); i!=INVALID; ++i)
1.44 {
1.45 double w=(*actual_map)[i];
1.46
1.47 @@ -125,7 +125,7 @@
1.48
1.49 if(edge==INVALID)
1.50 {
1.51 - for (EdgeIt i(g); i!=INVALID; ++i)
1.52 + for (EdgeIt i(mapstorage.graph); i!=INVALID; ++i)
1.53 {
1.54 if(mapname!="Default")
1.55 {