From f89d44b59c8619993614e0405d7395f37680f152 Mon Sep 17 00:00:00 2001
From: Cyrille Bagard <nocbos@gmail.com>
Date: Sat, 23 Feb 2019 14:09:49 +0100
Subject: Fixed missing controls when computing loop edge positions.

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

diff --git a/src/gtkext/graph/cluster.c b/src/gtkext/graph/cluster.c
index 5ead117..e0d67eb 100644
--- a/src/gtkext/graph/cluster.c
+++ b/src/gtkext/graph/cluster.c
@@ -897,6 +897,9 @@ static gint compute_loop_link_x_with_vspace_manager(const vspace_manager_t *mana
     {
         booking = manager->left[i];
 
+        if (booking->external != external)
+            continue;
+
         x = ++count * LINK_MARGIN;
 
         booking->pts[0].x = needed->x - x;
@@ -912,6 +915,9 @@ static gint compute_loop_link_x_with_vspace_manager(const vspace_manager_t *mana
     {
         booking = manager->right[i];
 
+        if (booking->external != external)
+            continue;
+
         x = ++count * LINK_MARGIN;
 
         booking->pts[0].x = needed->x + needed->width + x;
-- 
cgit v0.11.2-87-g4458