BCGControlBar Pro for MFC
void CBCGPDiagramConnector::Disconnect ( CBCGPDiagramItemID  idObject)

Disconnects connector from the diagram.

idObjectThe diagram item connection port.

Call this method to disconnect a connector from a diagram object. It removes all links between connector and diagram object. The placements of a connector and a diagram object remain unchanged.