summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-02-23 12:14:12 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-02-23 12:14:12 (GMT)
commit51841cd4d88225580ac55bce0d9d131515737a23 (patch)
treebd704001c2e953b5b2f0aa50efd6f31c0941a8aa
parent2007956107e6dad867d28b4043cd97b81df96800 (diff)
Fixed straight edge positions in the graph view.
-rw-r--r--src/gtkext/graph/cluster.c6
1 files 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);