gui/graph_displayer_canvas-event.cc
changeset 1590 ba2cb5006358
parent 1586 1a8630f2e944
child 1592 4708b716d2f4
equal deleted inserted replaced
9:3f68cf6eb31e 10:e3abacf0a6eb
   803 
   803 
   804 }
   804 }
   805 
   805 
   806 void GraphDisplayerCanvas::addNewEdgeMap()
   806 void GraphDisplayerCanvas::addNewEdgeMap()
   807 {
   807 {
   808   Graph::EdgeMap<double> * emptr=new Graph::EdgeMap<double> (g);
   808   Graph::EdgeMap<double> * emptr=new Graph::EdgeMap<double> (g,20);
   809   mapstorage.addEdgeMap("NewEdgeMap",emptr);
   809   mapstorage.addEdgeMap("NewEdgeMap",emptr);
   810   mapwin->registerNewEdgeMap("NewEdgeMap");
   810   mapwin->registerNewEdgeMap("NewEdgeMap");
   811   std::cout << "Add New EdgeMap is not yet implemented." << std::endl;
   811   changeEdgeText("NewEdgeMap");
   812 }
   812 }
   813 
   813 
   814 void GraphDisplayerCanvas::addNewNodeMap()
   814 void GraphDisplayerCanvas::addNewNodeMap()
   815 {
   815 {
   816   std::cout << "Add New NodeMap is not yet implemented." << std::endl;
   816   std::cout << "Add New NodeMap is not yet implemented." << std::endl;