The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniGraffle General (http://forums.omnigroup.com/forumdisplay.php?f=10)
-   -   BUG: Omnigraffle doesn't know graphviz 'strict' or 'rankdir' (http://forums.omnigroup.com/showthread.php?t=28428)

billbrietstout 2013-02-22 09:05 AM

BUG: Omnigraffle doesn't know graphviz 'strict' or 'rankdir'
 
1 Attachment(s)
This graphviz structure with strict is supposed to result in a diagram with overlapping splines, meaning multiple lines between two shapes should show as one.

strict graph G {
splines=false;
nodesep=0.2;
layout=dot;
overlap=prism;
rankdir=LR;
...
<hundreds of lines specifying node1 -- node2 -- node3 -- node4 etc.>
...
}

Initially Omnigraffle asks how to lay out the file, offering no escape for the layout options, and ignoring the layout options defined in the .gv file. You have to select some layout and wait, then change the settings to not get the result you defined in the file.

Omnigraffle ignores the directive to use straight lines (splines=false). Selecting a line and choosing 'select similar' to remove midpoints and make ortho lines straight doesn't remove midpoints from loops back to the same node. A node with multiple connections to itself will have hundreds of non-overlapping square loops with two midpoints (triangles).

The end result has hundreds of parallel lines cluttering the diagram (ignoring strict graph G) making it unreadable and unusable.

This works fine in other graphviz programs, including GraphVizio and Graphviz app for Mac. See attached for what the diagram should look like when opened.

billbrietstout 2013-02-22 09:14 AM

Source file
 
3 Attachment(s)
The above post has a pic of how Graphviz.app opens the diagram.

This post has pictures of how Omnigraffle opens the diagram, and how it looks after lines are made straight and midpoints removed.

Attached:

- Sample source file in compressed zip format (This forum doesn't support graphviz .gv text files either)

- View of how the diagram looks when initially opened by Omnigraffle in hierarchical mode

- View of how the diagram looks after modifying lines to straight and remove midpoints.

RobTrew 2013-02-22 09:57 AM

Probably best to submit this through [B]Help > Send Feedback[/B] in the App.

I'm not sure that these threads are always seen by the Graffle team, and in my experience it can take [URL="http://forums.omnigroup.com/showthread.php?t=22469"]a little time[/URL] for Graphviz layout issues to receive urgent engineering attention.

(A marginally lower rate of feature progress is, perhaps, one of the very reasonable prices which one pays for the calm and peace of mind which comes from using ethically sourced software – no engineers were harmed in its making – no life/work balance impaired by unreasonable duty-cycles – and as we know, water of the finest quality can take thousands of years to seep through purifying limestone).

In the meanwhile, it could make sense to redefine it as a feature, or, for the moment, just make use of another tool.

[COLOR="White"]--[/COLOR]

RobTrew 2013-02-22 11:15 AM

More succinctly – don't hold your breath :-)

billbrietstout 2013-02-22 02:30 PM

Thanks.

Did send email via help function, and referred back to this thread.

...Holding breath...
...turning blue...
...blackness tightens around my screen...

Oh, [I]don't[/I] hold my breath...


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

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