diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2013-02-10 09:56:11 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2013-02-10 09:56:11 (GMT) |
commit | 34e1a14aced520ba06ee1b81cfd7710e97c1643f (patch) | |
tree | 2657c22041ab954bb2165553f71141b7843956a2 /src/gtkext/graph/layout.c | |
parent | 3467b0cdb09976faccc6dbef09315cc38dbe6fb5 (diff) |
Improved the disassembling process by handling loops in code.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@339 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gtkext/graph/layout.c')
-rw-r--r-- | src/gtkext/graph/layout.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gtkext/graph/layout.c b/src/gtkext/graph/layout.c index 87ae2ec..1748c40 100644 --- a/src/gtkext/graph/layout.c +++ b/src/gtkext/graph/layout.c @@ -282,6 +282,14 @@ static char *complete_graph_links(const GtkGraphView *view, GtkViewPanel **views desc = stradd(desc, cmd); break; + case ILT_LOOP: + snprintf(cmd, LINKS_DESC_LEN, + "_%p:s -> _%p:n [ltail=cluster_%p, lhead=cluster_%p, " \ + "color=blue];\n", + views[i], views[k], views[i], views[k]); + desc = stradd(desc, cmd); + break; + case ILT_CATCH_EXCEPTION: snprintf(cmd, LINKS_DESC_LEN, "_%p:s -> _%p:n [ltail=cluster_%p, lhead=cluster_%p, " \ |