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.
Unfortunately, activation email could not send to your email. Please try again.

Get connectors from nodes

Thread ID:





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

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 07:29 AM

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 03:43 PM

Thanks! It is exactly what I was looking for!

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

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.

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.