Applescripting UML via OG ver 2.2
Winston Wolff
stuff at obsidiancore.com
Mon Feb 2 16:16:09 PST 2004
I am trying to write a script that will automatically build UML graphs
in OmniGraffle 2.2. I saw there was a feature for OmniGraffle to do
this for Objective-C, but I would like to make it for Java and Python
which are the languages I use. I've figured it out how to get all the
data to put in the graphs, but I have been unable to figure out how to
do the OmniGraffle end. I've been able to insert simple objects like
squares, change their text, and connect them together. However the UML
symbols I cannot figure out. I guess they are compound objects in some
way, and I haven't figured out how to access them via AppleScript.
In particular, I think these are the operations I need to do:
• Create a UML symbol from the UML pallette
• Insert text into the three parts
Any help would be of assistance. If I can get it to work, I will post
the code as I think a simple UML class diagram generator would be very
handy, and much faster than ArgoUML or Together. They are just too
bloated in my opinion.
-winston
-------------- next part --------------
More information about the OmniGraffle-Users
mailing list