Commit 809d4277 authored by Stephen C. North's avatar Stephen C. North

Merge branch 'master' into 'master'

Prevent exponential growth of length of edges in clusters

Closes #1246

See merge request !1283
parents fc7a0ca3 b3e80997
Pipeline #21541771 passed with stages
in 1 minute and 56 seconds
......@@ -96,7 +96,7 @@ edgelabel_ranks(graph_t * g)
node_t *n;
edge_t *e;
if (GD_has_labels(g->root) & EDGE_LABEL) {
if (GD_has_labels(g) & EDGE_LABEL) {
for (n = agfstnode(g); n; n = agnxtnode(g, n))
for (e = agfstout(g, n); e; e = agnxtout(g, e))
ED_minlen(e) *= 2;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment