1.1 --- a/graph_displayer_canvas-node.cc Thu Jul 28 19:09:39 2005 +0000
1.2 +++ b/graph_displayer_canvas-node.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 @@ -11,7 +11,7 @@
1.12 {
1.13 min=node_property_defaults[N_RADIUS];
1.14 max=node_property_defaults[N_RADIUS];
1.15 - actual_map=new Graph::NodeMap<double>(g,node_property_defaults[N_RADIUS]);
1.16 + actual_map=new Graph::NodeMap<double>(mapstorage.graph,node_property_defaults[N_RADIUS]);
1.17 }
1.18 else
1.19 {
1.20 @@ -22,7 +22,7 @@
1.21
1.22 if(node==INVALID)
1.23 {
1.24 - for (NodeIt i(g); i!=INVALID; ++i)
1.25 + for (NodeIt i(mapstorage.graph); i!=INVALID; ++i)
1.26 {
1.27 double v=abs((*actual_map)[i]);
1.28 int w;
1.29 @@ -79,7 +79,7 @@
1.30 Graph::NodeMap<double> * actual_map;
1.31 if(mapname=="Default")
1.32 {
1.33 - actual_map=new Graph::NodeMap<double>(g,node_property_defaults[N_COLOR]);
1.34 + actual_map=new Graph::NodeMap<double>(mapstorage.graph,node_property_defaults[N_COLOR]);
1.35 }
1.36 else
1.37 {
1.38 @@ -103,7 +103,7 @@
1.39 if(node==INVALID)
1.40 {
1.41
1.42 - for (NodeIt i(g); i!=INVALID; ++i)
1.43 + for (NodeIt i(mapstorage.graph); i!=INVALID; ++i)
1.44 {
1.45 Gdk::Color color;
1.46
1.47 @@ -157,7 +157,7 @@
1.48
1.49 if(node==INVALID)
1.50 {
1.51 - for (NodeIt i(g); i!=INVALID; ++i)
1.52 + for (NodeIt i(mapstorage.graph); i!=INVALID; ++i)
1.53 {
1.54 if(mapname!="Default")
1.55 {