diff -r 9fc3d5170b24 -r 40f3006fba2e graph_displayer_canvas.cc --- a/graph_displayer_canvas.cc Mon Oct 30 13:08:04 2006 +0000 +++ b/graph_displayer_canvas.cc Mon Oct 30 14:57:48 2006 +0000 @@ -25,7 +25,7 @@ nodetextmap(mainw.mapstorage.graph), displayed_graph(*(root()), 0, 0), isbutton(0), active_item(NULL), target_item(NULL), nodemap_to_edit(""), edgemap_to_edit(""), autoscale(true), zoomtrack(false), radius_size(20), edge_width(10), - iterations(20), attraction(0.05), propulsation(40000), was_redesigned(false), is_drawn(false), mytab(mainw) + was_redesigned(false), is_drawn(false), mytab(mainw) { //base event handler is move tool actual_handler=signal_event().connect(sigc::mem_fun(*this, &GraphDisplayerCanvas::moveEventHandler), false); @@ -304,7 +304,12 @@ moveNode(init.x, init.y, nodesmap[i], i); was_redesigned=true; } - + + double attraction; + double propulsation; + int iterations; + + (mytab.mapstorage).get_design_data(attraction, propulsation, iterations); //iteration counter for(int l=0;l