How to tweak the layout?
schmunk42 opened this issue · 4 comments
Thanks for bringing this to my attention! The actual layouting is currently left up entirely to GraphViz. It's usually quite good at arranging smaller, hierarchical graphs, but its default layout engine ("dot") quickly fails for more complex ones (like yours). GraphViz offers a huge number of options and settings and different layout engines to influence its layouting.
However, currently, there's no easy way to pass layout options to graph-composer, I'm afraid. If you feel like hacking the source code, a good starting point would be here. You may also want to familiarize yourself with the graphviz options and perhaps checking the output of php graph-composer.phar export --format=dot
.
If you find some settings that work for you, please feel invited to share them. I'd love to see them included in order to better support some of the bigger dependency graphs.
Thanks for your reply.
I also played around a little bit in the meantime. It turns out that you can use this dottoxml script to create files readable with eg. yED.
Thanks for sharing your findings! 👍
I think it makes sense to add some native support for a GraphML export. I'll keep track of its progress in the new ticket #10.