COIN-OR::LEMON - Graph Library

Ignore:
Timestamp:
04/19/06 00:59:33 (14 years ago)
Author:
Akos Ladanyi
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2708
Message:

id->label

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gui/graph_displayer_canvas-event.cc

    r1943 r2063  
    332332      }
    333333      // increment the id map's default value
    334       (mytab.mapstorage).nodemap_default["id"] += 1.0;
     334      (mytab.mapstorage).nodemap_default["label"] += 1.0;
    335335
    336336      nodesmap[active_node]=new Gnome::Canvas::Ellipse(displayed_graph,
     
    442442              }
    443443              // increment the id map's default value
    444               (mytab.mapstorage).edgemap_default["id"] += 1.0;
     444              (mytab.mapstorage).edgemap_default["label"] += 1.0;
    445445
    446446              //calculating coordinates of new edge
     
    674674          {
    675675            // the id map is not editable
    676             if (edgemap_to_edit == "id") return 0;
     676            if (edgemap_to_edit == "label") return 0;
    677677
    678678            //and there is activated map
     
    762762          {
    763763            // the id map is not editable
    764             if (nodemap_to_edit == "id") return 0;
     764            if (nodemap_to_edit == "label") return 0;
    765765
    766766            //and there is activated map
Note: See TracChangeset for help on using the changeset viewer.