what is the best way to keep the links connected when I “explode” a node
Public Sub ExplodeGoNode(ByVal View As Draw.GoDrawView)<?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
View.StartTransaction()
Dim temp As GoObject
Dim oCol As New GoCollection
temp = View.Selection.Primary
If Not temp Is Nothing Then
If TypeOf temp Is GoMyNode Then
Dim osg As GoMyNode = CType(temp, GoMyNode)
For Each o As GoObject In osg
oCol.Add(o)
Next
For Each o As GoObject In oCol
osg.Remove(o)
o.Selectable = True
View.Document.DefaultLayer.Add(o)
View.Selection.Add(o)
Next
If Not osg Is Nothing Then osg.Remove()
End If
End If
View.FinishTransaction("Ungroup Symbol")
End Sub