Making the connection

This page gives the dynamic model for connecting and disconnecting nets. There are two main elements involved: terminals, which are ultimately what nets are to be connected between, and grapples, which are attached to the ends of a net when it is selected, and which can then be grabbed to connected or reconnect the net.

The first diagram is the dynamic model for the basic actions of connecting nets to terminals. Terminals appear to the user to be "active" -- that is, when the mouse moves over a terminal, it highlights to indicate that clicking on it will start a new net. This is shown in the Terminal part of the diagram. Note the term "hbox": this is the bounding box of the terminal plus some hysteresis.

Once a net is created, control moves into the Net part of the diagram. Moving the mouse makes the end of the net follow it. Again, if over a suitable terminal, or "target," the terminal highlights and the end of the nets snaps to the right connection point to provide positive feedback to the user.

If the mouse is released when the mouse is not over a suitable target, then the net is not deleted, but is given a permanent grapple on the disconnected end, which can be used to reenter the Dragging state. A net can be disconnected by selecting it, and then clicking and dragging a grapple attached to a connected end.



Additional notes on the model:


JohnR, 18 Oct 97