The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniGraffle General (http://forums.omnigroup.com/forumdisplay.php?f=10)
-   -   Graphviz support for right-angle connectors ? (http://forums.omnigroup.com/showthread.php?t=10221)

RobTrew 2008-10-15 02:47 AM

Graphviz support for right-angle connectors ?
 
Does Omnigraffle use Graphviz to generate layouts with right-angle connectors ?

I am trying to understand the mess that ensues when the direction of a top-down right-angle connected tree is switched to left-right ...

Example - BEFORE switch to left-right
[URL="http://farm4.static.flickr.com/3185/2944352934_10fe7fcd6c.jpg?v=0"]http://farm4.static.flickr.com/3185/2944352934_10fe7fcd6c.jpg?v=0[/URL]
[IMG]http://farm4.static.flickr.com/3185/2944352934_10fe7fcd6c.jpg[/IMG]


Example - AFTER switch to left-right
[URL="http://farm4.static.flickr.com/3069/2943491883_a489267533.jpg?v=0"]http://farm4.static.flickr.com/3069/2943491883_a489267533.jpg?v=0[/URL]
[IMG]http://farm4.static.flickr.com/3069/2943491883_a489267533.jpg[/IMG]

Much better results are, alas, given by an old-fashioned program like Inspiration:

Inspiration BEFORE
[URL="http://farm4.static.flickr.com/3214/2943510927_475d610f5a.jpg"]http://farm4.static.flickr.com/3214/2943510927_475d610f5a.jpg[/URL]

Inspiration AFTER
[URL="http://farm4.static.flickr.com/3173/2943510957_6bbbca3485.jpg"]http://farm4.static.flickr.com/3173/2943510957_6bbbca3485.jpg[/URL]

xiamenese 2008-10-15 05:09 AM

Have you checked the magnet inspector? It looks to me as if the text boxes for the original vertical alignment only have north and south magnets, so when you change orientation, the links are still attaching at those points. If the text boxes do have east and west magnets, I don't know how you can get the links to move to them, other than doing it manually.

Mark

RobTrew 2008-10-15 07:11 AM

Hi, what I'm testing (hence the comparison w. Inspiration) is the automatic generation of a diagram from the outline panel to the left.

Manual interventions are certainly possible, but they're not really what I'm after. (Diagram generation and direction switching are both automatic in Inspiration).

Switching style-sheet rather than just direction might, I suppose, be the best approach. The starting style sheet (for the top-down tree), has to have only two (North South) magnets per node to avoid strange lateral connections.

I should probably switch to a diagram style with 2 East West magnets per node, and a left-right direction.


All times are GMT -8. The time now is 04:17 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2022, vBulletin Solutions, Inc.