[go: up one dir, main page]

Using yEd to layout report graphs


yEd is a free graph editor, benefiting from
all the automatic layouts of yFiles. Ivy is able to generate graphs which are readable by yEd.

The graphs generated by ivy are not layed out (in fact it's why we use yEd), so you have to follow a simple sequence of steps to layout the generated graphs.

Preparation

First you have to generate a graphml file. Simply call the report task (see ivy use documentation) for that.

Step 1: open the graphml file

Launch yEd editor, and open the graphml file generated by the report task. You should obtain something like this:

Step 2: ask yEd to adjust nodes size




Step 3: ask yEd to layout nodes




That's all, you should have obtained something like this:


Note that this is only one possibility, test the available layouts yourself, you could find one better in your case.
Once you have layed out the graph, you can either save it with in the same file (but be warned that it will be overwritten at next ivy report call), or another file, export it to jpg, gif, svg, etc. (see yEd site for details).