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. Image for the cookie policy date
close icon

Diagram Node Delete Problem[4.3.0.3.0]

hi
We've just upgrade Essential Studio 4.2.0.37 to 4.3.0.3.0.

After ugragde it, we've got 0 in thisNode.Edges.Count while the value isn't 0 in deleting Node from Diagram.
Please, check this module.
I'm looking forward to hear your response.

Thanks.

=================



Private Sub Diagram_ChildrenChangeComplete(ByVal sender As Object, ByVal evtArgs As Syncfusion.Windows.Forms.Diagram.NodeCollectionEventArgs) Handles Diagram.ChildrenChangeComplete
If evtArgs.ChangeType.ToString() = "Remove" Then
RemoveSubNodes(evtArgs.Node)
End If
End Sub


Public Sub RemoveSubNodes(ByVal node As INode)
Dim thisNode As IGraphNode = node

If Not (thisNode Is Nothing) Then
Dim edgesCollection As ICollection
edgesCollection = thisNode.Edges ' => ???

If Not (edgesCollection Is Nothing) Then
Dim curEdge As IGraphEdge
For Each curEdge In edgesCollection
' Line Delete .....
Next curEdge
End If
End If
End Sub

1 Reply

J. J.Nagarajan Syncfusion Team October 18, 2006 12:51 AM UTC

Hi MinSang,

Thanks for your interest in Essential Diagram. We are currently working on this issue. I will update you very soon.

Thanks for your patience.

Regards,
Nagaraj

Loader.
Live Chat Icon For mobile
Up arrow icon