[GOODIE] NK-ConnectorsDemo.056.pr on Bob's Super Swiki

Ned Konz ned at bike-nomad.com
Wed Apr 18 20:04:41 UTC 2001


Since I'm unemployed and just got a couple of money-producing gigs, I figured 
I'd post where I am so far with the Connectors stuff.

Biggest changes since last time (.051):

* you can attach one or more shapes to the ends of lines. There are a number 
of pre-made shapes presented in the end's menu, or you can just attach 
arbitrary shapes of your own choosing. Set the shape's rotation center to set 
where it will be positioned relative to the line attachment.

* you can use the above to make labels that contain arbitrary Morphs (like, 
perhaps, a direction arrow for a UML association).

* you can hold the shift key down while picking up an unattached Connector 
end and it will make another vertex. This allows you to bend connectors as 
you're wiring them.

* some more additions to the programmatic API, though it's not yet finished. 
Specifically, I still need to generalize the notification that a connection 
actually happened, and provide accessors to return the connections/incoming 
connections/outgoing connections for any Morph. But I haven't done this yet.

As before, feedback is encouraged.

-- 
Ned Konz
currently: Stanwood, WA
email:     ned at bike-nomad.com
homepage:  http://bike-nomad.com





More information about the Squeak-dev mailing list