Applescripting UML via OG ver 2.2
Winston Wolff
stuff at obsidiancore.com
Tue Feb 3 14:28:09 PST 2004
Oh great, this really helps.
FYI, what I am planning to do is make a little application that will
generate UML just as your script does, but will then update the methods
and attributes as your code changes. That way your layout is specified
in OmniGraffle and maintained. The details are updated automatically
and you can use the diagram as you work, rather than as an illustration
after you are done.
Does anybody out there think this is a generally useful tool?
-ww
On Feb 3, 2004, at 12:42 PM, Bjoern Kriews wrote:
>
> On 03.02.2004, at 01:16, Winston Wolff wrote:
>
>>
>> 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
>
> "make new record at end of graphics" is what you want.
>
> I produce files like this:
> SuperClass;;attribute_1,attribute_2;method_1,method_2
> SubClass1;SuperClass;attribute_3,attribute_4;method_3,method_4
> Subclass2;SuperClass;attribute_5,attribute_6;method_5,method_6
>
> and process them with a script I made up from some code
> gently offered to me (and others as I understood him)
> by some member of this list.
>
> I would really like to give credit but I don't have access
> to that mailbox right now. Thanks again anyway.
>
> Attached is "classDescriptions.scpt" a older, (pre 3.1)
> Version (don't know if it will work with 2.2) and a newer
> categories.scpt which I use for slightly different trees
> (non UML, no records) but which is adjusted to OG Pro 3.1+
> and uses a faster algorithm for large graphs.
>
> Regards, don't hesitate to contact me if you have further questions.
>
> <classDescriptions.scpt><categories.scpt>
More information about the OmniGraffle-Users
mailing list