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.
Syncfusion Feedback

Get connectors from nodes

Thread ID:

Created:

Updated:

Platform:

Replies:

124764 Jun 28,2016 07:07 PM UTC Jun 30,2016 04:25 AM UTC WPF 3
loading
Tags: SfDiagram
Alex
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; 
 
//Inconnectors 
InCount = info.InConnectors.Count(); 
//InOutconnectors 
OutCount = info.OutConnectors.Count(); 
Here, 
node is instance of NodeViewModel. 
 
 
Regards, 
Keerthivasan R. 


Alex
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. 
 
Regards, 
Keerthivasan R. 


CONFIRMATION

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.

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

;