1.1 --- a/graph_displayer_canvas-edge.cc Mon Oct 16 13:05:25 2006 +0000
1.2 +++ b/graph_displayer_canvas-edge.cc Thu Oct 19 07:49:40 2006 +0000
1.3 @@ -1,7 +1,7 @@
1.4 #include "graph_displayer_canvas.h"
1.5 #include <cmath>
1.6
1.7 -const int minimum_edge_width=2;
1.8 +const int minimum_edge_width=0;
1.9
1.10 int GraphDisplayerCanvas::resetEdgeWidth (Edge edge)
1.11 {
2.1 --- a/graph_displayer_canvas.cc Mon Oct 16 13:05:25 2006 +0000
2.2 +++ b/graph_displayer_canvas.cc Thu Oct 19 07:49:40 2006 +0000
2.3 @@ -1,4 +1,5 @@
2.4 #include "graph_displayer_canvas.h"
2.5 +#include <lemon/random.h>
2.6 #include <cmath>
2.7
2.8 GraphDisplayerCanvas::GraphDisplayerCanvas(NoteBookTab & mainw) :
2.9 @@ -261,7 +262,9 @@
2.10 if(!was_redesigned)
2.11 {
2.12 NodeIt i((mytab.mapstorage).graph);
2.13 - double r=random();
2.14 +
2.15 + double r=Random().getReal();
2.16 +
2.17 dim2::Point<double> init(init_vector_length*sin(r),init_vector_length*cos(r));
2.18 moveNode(init.x, init.y, nodesmap[i], i);
2.19 was_redesigned=true;