graph_displayer_canvas-edge.cc
branchgui
changeset 40 cebacea4f965
parent 36 7a8c41aa3c29
child 44 9a217bdf53a3
equal deleted inserted replaced
4:d71f94e66d11 5:5e855f8635a5
   104   return 0;
   104   return 0;
   105 };
   105 };
   106 
   106 
   107 int GraphDisplayerCanvas::changeEdgeText (std::string mapname, Graph::Edge edge)
   107 int GraphDisplayerCanvas::changeEdgeText (std::string mapname, Graph::Edge edge)
   108 {
   108 {
   109 
       
   110   //the number in the map will be written on the edge
   109   //the number in the map will be written on the edge
   111   //EXCEPT when the name of the map is Text, because
   110   //EXCEPT when the name of the map is Default, because
   112   //in that case empty string will be written, because
   111   //in that case empty string will be written, because
   113   //that is the deleter map
   112   //that is the deleter map
   114 
   113 
   115   if(edge==INVALID)
   114   if(edge==INVALID)
   116     {
   115     {