The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > OmniGraffle > OmniGraffle General
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
BUG: Omnigraffle doesn't know graphviz 'strict' or 'rankdir' Thread Tools Search this Thread Display Modes
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.
Attached Thumbnails
Click image for larger version

Name:	AsOpenedBy_Graphvizapp.png
Views:	585
Size:	52.7 KB
ID:	2724  

Last edited by billbrietstout; 2013-02-22 at 09:27 AM..
 
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.
Attached Thumbnails
Click image for larger version

Name:	as_opened.png
Views:	495
Size:	100.7 KB
ID:	2723   Click image for larger version

Name:	after_straightline_nomidpoints.png
Views:	529
Size:	59.6 KB
ID:	2725  
Attached Files
File Type: zip test.gv.zip (1,015 Bytes, 453 views)

Last edited by billbrietstout; 2013-02-22 at 09:29 AM..
 
Probably best to submit this through Help > Send Feedback in the App.

I'm not sure that these threads are always seen by the Graffle team, and in my experience it can take a little time 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.

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

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

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

Oh, don't hold my breath...
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Feature request: export as graphviz format fecht OmniGraffle General 3 2010-05-13 03:12 PM
Supported graphviz features? ben8 OmniGraffle General 1 2010-02-07 04:00 PM
Graphviz support for right-angle connectors ? RobTrew OmniGraffle General 2 2008-10-15 07:11 AM
GraphViz HTML support Seppo OmniGraffle General 2 2008-09-12 03:15 AM
I code with a Strict Doc type ... mergatroid OmniWeb Feature Requests 2 2008-01-28 07:39 AM


All times are GMT -8. The time now is 01:32 AM.


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