BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
// 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;
}
} |