1

2

3

4

5

6

This is a demonstration of anchors that change position dependent on the location of the other element in a connection. Each connection is decorated with a jsPlumb.Overlays.Diamond, located halfway along the connector.

You can drag new connections between blue endpoints.

This demonstration uses jsPlumb 1.3.5 and YUI 3.3.0.