Hi Rodrigo,
Requirement: How to get incoming and outgoing nodes connected to specific nodes.
We have analyzed your requirement and it can be achieved by the using InNeighbors and OutNeighbors properties of node's info. We have prepared a simple sample to achieve your requirement. In that sample, we have used ItemSelected event to get the selected node and highlighted the incoming and outgoing nodes that are connected to the selected node.
Please find the sample in the link below,
If given details and samples do not meet your requirement, please share more details with us about your requirement.
Regards,
Deepa Thiruppathy