The Omni Group Forums

The Omni Group Forums (
-   OmniGraffle General (
-   -   SVG export/dot import (

Vincent22 2006-12-22 10:49 AM

SVG export/dot import
Dear Omnigraffle developers,

The SVG export feature behaves badly with arrow heads. However if I replace by hand
[CODE]viewBox="x y 10 8"[/CODE]
[CODE]viewBox="0 0 10 8"[/CODE]
in there (that's in the graffle generated svg file):
[CODE]<marker orient="auto" overflow="visible" markerUnits="strokeWidth" id="StickArrow_Marker" viewBox="0 0 10 8" markerWidth="10" markerHeight="8" color="Black">[/CODE]
everything looks perfect again (in Firefox) !
It does not seem like a lot of work to have that right.
There are similar problems with Text not being centered in shapes.

I'd love a more comprehensive translation of dot including clusters, too.


any developer reading this by any chance ?

watersb 2007-01-09 01:33 PM

[quote]any developer reading this by any chance? [/quote]

Well, I suppose I'm a developer, just not an OmniGraffle developer.

Thanks for the tip regarding SVG export!

I, too, am playing with dot import. It seems to be the only way to generate class diagrams programmatically. Sure you could use AppleScript, but I can't figure out how to do so reliably. So I use Perl to generate dot files, or modify the dot files generated by Doxygen.

Some sort of source code ---> diagram example for OmniGraffle would be much appreciated...

Vincent22 2007-01-10 04:24 PM

Some sort of source code ---> diagram example for OmniGraffle would be much appreciated...[/QUOTE]

I'll second that !

All times are GMT -8. The time now is 04:51 PM.

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