[graphviz-interest] SVG: Export edges as connectors
Matt <[email protected]> Mon, 2 Nov 2015 15:35:44 +0100
| Newsgroups | gmane.comp.video.graphviz |
|---|---|
| Message-ID | <CADHp1NwC3SndzjZs+P5DYhq8SLGRSdvQOs1Beq3PaLR4O3eKmA@mail.gmail.com> |
Hi, [Please keep me in CC] [Question at the end and in the title, introduction to the problem first] I have a 20 nodes state machine (fsm) generated with graphviz because it was ideal to iterate over the fsm. I now want to generate a proper image of this with a well thought layout. My idea was to export to svg and then move the nodes as I want them to be. The problem is that when I move the nodes, the edges don't follow the nodes. I found out that to have edges follow the nodes, I had to use *connectors* instead of *path* elements and I also a found a script that just does that : http://john-raffensperger.blogspot.fr/2015/05/drag-your-graphviz-nodes-with-inkscape.html Kudos to the author ! (the script creates straight connectors while it seems possible to have *splined* connectors as shown in: http://tavmjong.free.fr/SVG/CONNECTORS/index.xhtml but that's not that much of a problem for me). The annoying problem is that the script loses the arrows that showed the transition direction. I wondered if: 1/ SVG supports directional connectors 2/ if 1/, would it be possible to do it in graphviz ? Best regards Matt PS: I hope this is the good mailing list: I could not find the address of the mailing list on page http://www.graphviz.org/MailingList.php which is weird, otherwise sorry and please tell me the correct mailing list. _______________________________________________ [email protected] http://lists.research.att.com/mailman/listinfo/graphviz-interest