creating smart shapes like UML class entity
Mark Holt
mholt at primex.co.uk
Wed Feb 5 12:28:03 PST 2003
>> Does not seem to be a "group". Yet it somehow is drawing separator
>> lines between the class/attributes/operations sections that make room
>> for lines of text you type. How can I create similar smart shapes?
I managed to do this by cheating and editing the .graffle file by hand:
i) create and save a new graffle file with just a single UML text
object in it.
ii) Open the .graffle file in a standard text editor.
iii) Somewhere in the file you will see:
<key>Class</key>
<string>MultiTextGraphic</string>
Within this you will see:
<key>TextList</key>
<array>
...
</array>
iv) Within the <array> tags you will see a number of <dict>...</dict>.
v) Just copy the first <dict>...</dict> and paste in as many
compartments as you need.
I've enclosed an example with two and 6 compartments.
Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ExampleListComponent.graffle
Type: application/octet-stream
Size: 18974 bytes
Desc: not available
Url : /mailman/archive/omnigraffle-users/attachments/20030205/f2820382/ExampleListComponent.obj
More information about the OmniGraffle-Users
mailing list