Changeset 1606:dc4ea2010dee in lemon-0.x for gui/graph_displayer_canvas-edge.cc
- Timestamp:
- 07/29/05 14:01:37 (20 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-edge.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 … … 13 13 min=edge_property_defaults[E_WIDTH]; 14 14 max=edge_property_defaults[E_WIDTH]; 15 actual_map=new Graph::EdgeMap<double>( g,edge_property_defaults[E_WIDTH]);15 actual_map=new Graph::EdgeMap<double>(mapstorage.graph,edge_property_defaults[E_WIDTH]); 16 16 } 17 17 else … … 24 24 if(edge==INVALID) 25 25 { 26 for (EdgeIt i( g); i!=INVALID; ++i)26 for (EdgeIt i(mapstorage.graph); i!=INVALID; ++i) 27 27 { 28 28 double v=abs((*actual_map)[i]); … … 59 59 if(mapname=="Default") 60 60 { 61 actual_map=new Graph::EdgeMap<double>( g,edge_property_defaults[E_COLOR]);61 actual_map=new Graph::EdgeMap<double>(mapstorage.graph,edge_property_defaults[E_COLOR]); 62 62 } 63 63 else … … 81 81 if(edge==INVALID) 82 82 { 83 for (EdgeIt i( g); i!=INVALID; ++i)83 for (EdgeIt i(mapstorage.graph); i!=INVALID; ++i) 84 84 { 85 85 double w=(*actual_map)[i]; … … 126 126 if(edge==INVALID) 127 127 { 128 for (EdgeIt i( g); i!=INVALID; ++i)128 for (EdgeIt i(mapstorage.graph); i!=INVALID; ++i) 129 129 { 130 130 if(mapname!="Default")
Note: See TracChangeset
for help on using the changeset viewer.