- Documentation (2.4.0-rc1)
- Release Notes
- Tutorials
- Reference
- Introduction
- Settings Files
- Ivy Files
- Ant Tasks
- artifactproperty
- artifactreport
- buildlist
- buildobr
- buildnumber
- cachefileset
- cachepath
- checkdepsupdate
- cleancache
- configure
- convertmanifest
- convertpom
- deliver
- dependencytree
- findrevision
- fixdeps
- info
- install
- listmodules
- makepom
- post resolve tasks
- publish
- repreport
- resolve
- resources
- retrieve
- report
- settings
- var
- Using standalone
- OSGi
- Developer doc
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:![](images/yed-step1.jpg)
Step 2: ask yEd to adjust nodes size
![](images/yed-step2.jpg)
![](images/yed-step3.jpg)
![](images/yed-step3-2.jpg)
Step 3: ask yEd to layout nodes
![](images/yed-step4.jpg)
![](images/yed-step5.jpg)
![](images/yed-step6.jpg)
That's all, you should have obtained something like this:
![](images/yed-step7.jpg)
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).