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 Today's Posts

 
Programmatic Diagrams Thread Tools Search this Thread Display Modes
I'm analyzing a database and I have a chain of scripts that results in a .DOT format file. I import that file into OmniGraffle and then use the layout tools followed by some hand re-positioning to generate a nice diagram that lets us see how about a hundred tables are being used. This all works find and produces a fine chart.

However, I need to be able to re-run my scripts and produce the new file each week. I'd like to reduce or eliminate the hand-repositioning, since for each successive chart, the locations from the last chart are the likely good placements.

My first through was that I'd extract the positions from the OmniGraffle document and then place these positions into the .DOT file. However, turns out the OmniGraffle won't import the pos attribute.

So - I'm thinking my plan is going to be to write an AppleScript that extracts the positions of the shapes on one canvas and attempts to apply them the shapes on another canvas, locating the shapes by label. Is this sane? Has anyone done this or something similar? Is there a more direct method?

Thanks for any suggestions, pointers or help!
- Mark
 
 




Similar Threads
Thread Thread Starter Forum Replies Last Post
Swimlane diagrams? teepee OmniGraffle Extras 36 2014-05-16 12:55 PM
ORM Diagrams? Joost OmniGraffle General 2 2010-10-03 11:22 PM
Database Diagrams mrichman OmniGraffle General 0 2009-03-01 01:34 PM
programmatic diagram production timcoote OmniGraffle General 1 2009-01-20 02:12 PM
non-hierarchical Diagrams Rolf_schmolling OmniGraffle General 1 2006-08-10 09:24 AM


All times are GMT -8. The time now is 02:32 PM.


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