aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Ghigonis <laurent@p1sec.com>2012-12-10 01:19:20 +0100
committerLaurent Ghigonis <laurent@p1sec.com>2012-12-10 01:19:20 +0100
commit42c192032dc744f747a52814abb4e3f1387c662f (patch)
tree6ea0a26c720eb419807a1706734234635a1f6a93
parentfix ip_to_str() (diff)
downloadglouglou-42c192032dc744f747a52814abb4e3f1387c662f.tar.xz
glouglou-42c192032dc744f747a52814abb4e3f1387c662f.zip
disable edge deletion for now
-rw-r--r--gg_map/gg_map.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gg_map/gg_map.c b/gg_map/gg_map.c
index 0b4d529..e178b7b 100644
--- a/gg_map/gg_map.c
+++ b/gg_map/gg_map.c
@@ -83,7 +83,9 @@ _conn_del(int id) {
/* is there other connections between these peers ? */
otherconn = ggnet_conn_find_by_node(_ggnet, a, b);
if (!otherconn) {
- egraph_edge_del(_egraph, e);
+ // XXX lets keep the edges, igraph layouting behaves badly when you have
+ // a vertice without edge ...
+ //egraph_edge_del(_egraph, e);
}
}
}