What you can do is the moment the component is placed on another , update the connection status of both the components. Probably you can create 0 length wire. You need to store locations of connection points in wire object.
When the user moves any of this component , update both the end points in wire (if you don't know how to please ask) and just rebuild the wire(). Probably you can implement in mouse events of Component
Bookmarks