summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Canvas.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Canvas.cpp b/src/Canvas.cpp
index b7925d7..9ab4304 100644
--- a/src/Canvas.cpp
+++ b/src/Canvas.cpp
@@ -2037,8 +2037,8 @@ ganv_canvas_arrange(GanvCanvas* canvas)
const string pos = agget(i->second, (char*)"pos");
const string x_str = pos.substr(0, pos.find(","));
const string y_str = pos.substr(pos.find(",") + 1);
- const double cx = strtod(x_str.c_str(), NULL) * 1.1;
- const double cy = strtod(y_str.c_str(), NULL) * 1.1;
+ const double cx = lrint(strtod(x_str.c_str(), NULL) * 1.2);
+ const double cy = lrint(strtod(y_str.c_str(), NULL) * 1.2);
const double w = ganv_box_get_width(GANV_BOX(i->first));
/* Dot node positions are supposedly node centers, but things only