Hi Steve,
Thanks for contacting Syncfusion support.
We suggest you to use Node’s Edges/EdgesLeaving/EdgesEntering properties to know which parent/children details.
Edges – To get all the connectors to connected with the node.
EdgesLeaving – To get all the connectors which are leaving from the nodes.
EdgesEntering – to get all the connectors which are entering to the nodes.
Also, you can use Node’s “EdgesLeaving” property to check if the current node is contain children or not. Please refer to the below code example.
Code example:
[VB]
For Each node As Node In diagram1.Model.Nodes
If Not(TypeOf node Is ConnectorBase) AndAlso node.EdgesLeaving.Count = 0 Then
TryCast(node, FilledPath).FillStyle.Color = Color.Orange
End If
Next node
Regards,
Naganathan K G