gui/graph_displayer_canvas-edge.cc
changeset 1593 a8a007f1c01c
parent 1581 9bb83c7f479b
child 1595 3bde58e2d5ca
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     {