We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

[DIAGRAM} FilledPath.CentralPort.Disconnect and Connect takes up to 250 ms each

Thread ID:





128857 Feb 13,2017 07:59 AM UTC Feb 17,2017 06:10 AM UTC WinForms 3
Tags: Diagram
Marco Casella
Asked On February 13, 2017 07:59 AM UTC

I have a one time update code similar to this: 

            var shapes = this.diagram1.Model.Nodes.OfType<FilledPath>();
            foreach (FilledPath shape in shapes)
                foreach (ConnectorBase connector in shape.EdgesLeaving.OfType<ConnectorBase>())

            foreach (FilledPath shape in shapes)
                foreach (ConnectorBase connector in shape.EdgesEntering.OfType<ConnectorBase>())

Each connect and disconnect can take up to 250ms, taking one minute for all the FilledPath, calling the Garbage Collection on each connect or disconnect.

Can I speed up the process in some way?

Best regards


Naganathan Ganesh Babu [Syncfusion]
Replied On February 14, 2017 09:31 AM UTC

Hi Marco, 
Thanks for contacting Syncfusion support. 
On further analysis, the connect/disconnect method taking 40ms for each connector. Please refer to the below video for your reference.  
We have checked your requirement only in our latest version of Syncfusion Diagram control and it contains only one connector established with the connection. So, could you please share us the following information, 
1.     Number of nodes and connectors available in the sample, 
2.     The version you are using in which the reported problem occurs, 
3.     Your sample. 
Which will help us to analyze further and provide you a better solution.  
Naganathan K G 

Marco Casella
Replied On February 14, 2017 04:51 PM UTC

The diagram was around 50 (derived) shapes and 50 links.
With this number of elements disconnecting or connecting a link takes long time, launch garbage collection on every call and a large amount of memory (sometimes throws an OutOfMemory exception after 200 call).

BTW, I have resolved by pausing some Diagram service:


best regards

Naganathan Ganesh Babu [Syncfusion]
Replied On February 17, 2017 06:10 AM UTC

Hi Marco, 
We have updated the response in incident which is created by you for the same query. Please follow-up with that incident for furthers details.  
Naganathan K G 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon