Dears
I have the following code to know the To and From closed nodes information
Dim tonode As Node = TryCast(Diagram1.View.SelectionList(nodes.IndexOf(n)), Node)
For Each con As ConnectorBase In tonode.EdgesEntering
Dim fromNode As Node = TryCast(con.FromNode, Node)
Next
con.Name can be the name entering or leaving. Here the connector con. name is the same for two nodes (To and From closed or FillPath nodes). What I am trying to get is tothe name of the connector(s) entering and leaving a particular when I click that specific closed node on the diagram sheet. For instance, if thee are three connectors con1, con2, con3 entering a rectangular node Rect1 and there are two nodes con4, con5 leaving the same rectangular node Rect1, on mouse click on the rectangle Rect1, the following information are printed on a textbox:
In: con1
In: con2
In: con3
Leave: con4
Leave: con5
If there are just one cone connector is entering and another one is leaving:
In: con1
Leave: con2
I just wanted to know the list of entering and leaving connectors name for a particular closed node.
I am just confused on how to loop through to get the con.name to have printed as above
Thank you in advance if anyone can help