Adjustable connection links and ports

Occasionally people ask about how to let their users interactively shift the end point of a link on a port. This functionality is not provided by default, but can be implemented by having the port remember the link point for each link that is connected to it.
The AdjustableConnectionBoxPort and AdjustableConnectionLink example classes in Demo1 of version 2.3 provide one such implementation. You may find that you want to modify the implementation to provide alternative policies and mechanisms for how users interact with such links. We chose a GoBoxPort as the base port class since that provides default behavior that is often used with large rectangularly-shaped nodes.
The following screenshot shows how an AdjustableConnectionLink’s handle might be dragged to connect the link at different points on the “goodbye” node, which is implemented by an ACNode utilizing an AdjustableConnectionBoxPort.