summaryrefslogtreecommitdiff
path: root/src/gtkext/gtkgraphdisplay.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-01-07 07:52:28 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-01-07 07:52:28 (GMT)
commite363028265c5d1ab9905dee4128b8d998dad06b1 (patch)
treef59f50386ed3e2df2fcf2c8b72aa9086e3af18b2 /src/gtkext/gtkgraphdisplay.c
parent7b580bd991c5218b8c7d24fa0b396c380810cc73 (diff)
Improved links computation and handled loops in the graph layout.
Diffstat (limited to 'src/gtkext/gtkgraphdisplay.c')
-rw-r--r--src/gtkext/gtkgraphdisplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gtkext/gtkgraphdisplay.c b/src/gtkext/gtkgraphdisplay.c
index 749a156..0c65c23 100644
--- a/src/gtkext/gtkgraphdisplay.c
+++ b/src/gtkext/gtkgraphdisplay.c
@@ -365,7 +365,7 @@ static void gtk_graph_display_compute_requested_size(GtkGraphDisplay *display, g
if (display->cluster != NULL)
{
g_graph_cluster_compute_needed_alloc(display->cluster, &needed);
- assert(needed.x == 0 && needed.y == 0);
+ //assert(needed.x == 0 && needed.y == 0);
needed.width += 2 * GRAPH_MARGIN;
needed.height += 2 * GRAPH_MARGIN;