COIN-OR::LEMON - Graph Library

Ignore:
Timestamp:
07/29/05 14:01:37 (15 years ago)
Author:
Akos Ladanyi
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2111
Message:

added support for saving files

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"
    33#include <math.h>
    44
     
    1212      min=node_property_defaults[N_RADIUS];
    1313      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]);
    1515    }
    1616  else
     
    2323  if(node==INVALID)
    2424    {
    25       for (NodeIt i(g); i!=INVALID; ++i)
     25      for (NodeIt i(mapstorage.graph); i!=INVALID; ++i)
    2626        {
    2727          double v=abs((*actual_map)[i]);
     
    8080  if(mapname=="Default")
    8181    {
    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]);
    8383    }
    8484  else
     
    104104    {
    105105
    106       for (NodeIt i(g); i!=INVALID; ++i)
     106      for (NodeIt i(mapstorage.graph); i!=INVALID; ++i)
    107107        {
    108108          Gdk::Color color;
     
    158158  if(node==INVALID)
    159159    {
    160       for (NodeIt i(g); i!=INVALID; ++i)
     160      for (NodeIt i(mapstorage.graph); i!=INVALID; ++i)
    161161        {
    162162          if(mapname!="Default")
Note: See TracChangeset for help on using the changeset viewer.