Changeset 1606:dc4ea2010dee in lemon-0.x for gui/graph_displayer_canvas-node.cc
- Timestamp:
- 07/29/05 14:01:37 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2111
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gui/graph_displayer_canvas-node.cc
r1599 r1606 1 #include <graph_displayer_canvas.h>2 #include <broken_edge.h>1 #include "graph_displayer_canvas.h" 2 #include "broken_edge.h" 3 3 #include <math.h> 4 4 … … 12 12 min=node_property_defaults[N_RADIUS]; 13 13 max=node_property_defaults[N_RADIUS]; 14 actual_map=new Graph::NodeMap<double>( g,node_property_defaults[N_RADIUS]);14 actual_map=new Graph::NodeMap<double>(mapstorage.graph,node_property_defaults[N_RADIUS]); 15 15 } 16 16 else … … 23 23 if(node==INVALID) 24 24 { 25 for (NodeIt i( g); i!=INVALID; ++i)25 for (NodeIt i(mapstorage.graph); i!=INVALID; ++i) 26 26 { 27 27 double v=abs((*actual_map)[i]); … … 80 80 if(mapname=="Default") 81 81 { 82 actual_map=new Graph::NodeMap<double>( g,node_property_defaults[N_COLOR]);82 actual_map=new Graph::NodeMap<double>(mapstorage.graph,node_property_defaults[N_COLOR]); 83 83 } 84 84 else … … 104 104 { 105 105 106 for (NodeIt i( g); i!=INVALID; ++i)106 for (NodeIt i(mapstorage.graph); i!=INVALID; ++i) 107 107 { 108 108 Gdk::Color color; … … 158 158 if(node==INVALID) 159 159 { 160 for (NodeIt i( g); i!=INVALID; ++i)160 for (NodeIt i(mapstorage.graph); i!=INVALID; ++i) 161 161 { 162 162 if(mapname!="Default")
Note: See TracChangeset
for help on using the changeset viewer.