Skip to content

Commit

Permalink
Edges attached to a cluster were not getting assigned an index number.
Browse files Browse the repository at this point in the history
  • Loading branch information
Emden Gansner committed Aug 12, 2016
1 parent 4b456b6 commit 3918017
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugin/core/gvrender_core_json.c
Original file line number Diff line number Diff line change
Expand Up @@ -679,9 +679,9 @@ static void write_graph(Agraph_t * g, GVJ_t * job, int top, state_t* sp)
}
else {
ND_gid(np) = sgcnt + ncnt++;
for (ep = agfstout(g, np); ep; ep = agnxtout(g,ep)) {
ED_gid(ep) = ecnt++;
}
}
for (ep = agfstout(g, np); ep; ep = agnxtout(g,ep)) {
ED_gid(ep) = ecnt++;
}
}
dtclose(map);
Expand Down

0 comments on commit 3918017

Please sign in to comment.