Changeset 2063:9535436aaa9f in lemon-0.x for gui/graph_displayer_canvas-event.cc
- Timestamp:
- 04/19/06 00:59:33 (18 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2708
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gui/graph_displayer_canvas-event.cc
r1943 r2063 332 332 } 333 333 // increment the id map's default value 334 (mytab.mapstorage).nodemap_default[" id"] += 1.0;334 (mytab.mapstorage).nodemap_default["label"] += 1.0; 335 335 336 336 nodesmap[active_node]=new Gnome::Canvas::Ellipse(displayed_graph, … … 442 442 } 443 443 // increment the id map's default value 444 (mytab.mapstorage).edgemap_default[" id"] += 1.0;444 (mytab.mapstorage).edgemap_default["label"] += 1.0; 445 445 446 446 //calculating coordinates of new edge … … 674 674 { 675 675 // the id map is not editable 676 if (edgemap_to_edit == " id") return 0;676 if (edgemap_to_edit == "label") return 0; 677 677 678 678 //and there is activated map … … 762 762 { 763 763 // the id map is not editable 764 if (nodemap_to_edit == " id") return 0;764 if (nodemap_to_edit == "label") return 0; 765 765 766 766 //and there is activated map
Note: See TracChangeset
for help on using the changeset viewer.