Hi Lars,
The ControlNode’s “HostingControl” property is used to get the control which is assigned in the control node and the Node’s “EdgesLeaving” property is used to get the Nodes which are connected from the current node also the property “EdgesEntering” is used to get the Nodes which are connected to the current node. Please refer to the below code example and sample.
Code Example:
[C#]
//Getting connected nodes with current node
ICollection collection1 = node.EdgesLeaving;
//Getting connected control nodes with current node
control += ((node1 as ConnectorBase).ToNode as ControlNode).HostingControl.GetType().ToString();
Sample:
Sample
Regards,
Naganathan K G