Skip to content

Commit

Permalink
Fix "simple edges" graph (radareorg#9607)
Browse files Browse the repository at this point in the history
* Fix graph edges

* Refactor
  • Loading branch information
cyanpencil authored and radare committed Mar 6, 2018
1 parent 7b5de49 commit 7cc636c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libr/core/graph.c
Expand Up @@ -2594,6 +2594,12 @@ static void agraph_print_edges_simple(RAGraph *g) {
r_cons_canvas_line (g->can,
n->x + sx, n->y + sy,
n2->x + sx2, n2->y, &style);

if (n2->is_dummy) {
r_cons_canvas_line (g->can,
n2->x, n2->y - 1,
n2->x, n2->y + n2->h, &style);
}
}
}
}
Expand Down

0 comments on commit 7cc636c

Please sign in to comment.