Adding metadata to nodes and edges

Rich Morin rdm at cfcl.com
Sat Oct 22 16:12:13 PDT 2005


It turns out that AppleScript can be attached to either edges or nodes
and that scripts that contain just comments or "useless" code don't
cause OG any grief.  Unfortunately, the lines appear to be limited to
about 25 characters, which could be a problem for URIs and such.

Pulls on "hacker" hat...  What about:

   set uri to "http://www.cfcl.com/rdm"

or even one of these:

   set xml to "
     <foo>123</foo>
     <bar>xyz</bar
   "
   set yaml to "
     foo:  123
     bar:  'xyz'
   "

Looks like we may have a winner...

-r

P.S.  Is there a size limit on OG's AppleScripts?
-- 
email: rdm at cfcl.com; phone: +1 650-873-7841
http://www.cfcl.com        - Canta Forda Computer Laboratory
http://www.cfcl.com/Meta   - The FreeBSD Browser, Meta Project, etc.



More information about the OmniGraffle-Users mailing list