From 51841cd4d88225580ac55bce0d9d131515737a23 Mon Sep 17 00:00:00 2001
From: Cyrille Bagard <nocbos@gmail.com>
Date: Sat, 23 Feb 2019 13:14:12 +0100
Subject: Fixed straight edge positions in the graph view.

---
 src/gtkext/graph/cluster.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/gtkext/graph/cluster.c b/src/gtkext/graph/cluster.c
index 8f584b9..b19b115 100644
--- a/src/gtkext/graph/cluster.c
+++ b/src/gtkext/graph/cluster.c
@@ -3287,6 +3287,10 @@ GGraphCluster *bootstrap_graph_cluster(GLoadedBinary *binary, const GBlockList *
 
     g_graph_cluster_reorder_loop_blocks(result);
 
+    g_graph_cluster_dispatch_x(result);
+
+    g_graph_cluster_sort_incoming_links(result);
+
     /**
      * Placement horizontal définitif.
      */
@@ -3295,8 +3299,6 @@ GGraphCluster *bootstrap_graph_cluster(GLoadedBinary *binary, const GBlockList *
 
     g_graph_cluster_dispatch_x(result);
 
-    g_graph_cluster_sort_incoming_links(result);
-
     /* Réajustement vers la droite */
 
     g_graph_cluster_compute_needed_alloc(result, &needed);
-- 
cgit v0.11.2-87-g4458