Hi Sumit,
We assumed that your issue is that line connector restricts or get highlighted when dragging one connector over another connector. Please disable “EnableCentralPort” property of the LineConnector as false to resolve this.
Please find the code example to disable this property.
// it notifies when new node or connector get added in diagram
this.diagram1.Model.EventSink.NodeCollectionChanged += EventSink_NodeCollectionChanged;
private void EventSink_NodeCollectionChanged(CollectionExEventArgs evtArgs)
{
if (evtArgs.Element is OrgLineConnector)
{
// To disbale coonector get connected with another connector
(evtArgs.Element as OrgLineConnector).EnableCentralPort = false;
}
} |
Regards,
Ramya T