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

Get connectors from nodes

Thread ID:





124764 Jun 28,2016 07:07 PM UTC Jun 30,2016 04:25 AM UTC WPF 3
Tags: SfDiagram
Asked On June 28, 2016 07:07 PM UTC

Hello! Is there exist any way to get all connectrors that connected to the (NodeViewModel)node from this node?

Keerthivasan Ramamoorthy [Syncfusion]
Replied On June 29, 2016 11:29 AM UTC

Hi Alex, 
Requirement: “Need to get all Connectors that connected to the (NodeViewModel)Node from this Node”.  
We have analyzed your requirement and achieve your requirement by using InConnectors and OutConnectors property of INodeInfo. We have provided a code example to represent your requirement. Please refer to the code example as below. 
Code example: 
int InCount; 
int OutCount; 
INodeInfo info= node.Info as INodeInfo; 
InCount = info.InConnectors.Count(); 
OutCount = info.OutConnectors.Count(); 
node is instance of NodeViewModel. 
Keerthivasan R. 

Replied On June 29, 2016 07:43 PM UTC

Thanks! It is exactly what I was looking for!

Keerthivasan Ramamoorthy [Syncfusion]
Replied On June 30, 2016 04:25 AM UTC

Hi Alex, 
Thanks for the update.  
Please let us know if you need any further assistance. 
Keerthivasan R. 


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

or the page will be automatically redirected to 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