Assembly: Microsoft.Office.Interop.Excel (in microsoft.office.interop.excel.dll)
Use the AddNode method to add a node to a diagram or to a diagram node.
Use the Delete method to remove a node from a diagram or diagram node.
To return a DiagramNode object, use one of the following:
A diagram node can terminate, or it can contain other child diagrams, child diagram nodes, or child shapes. Refer to these with the following:
To refer to a child diagram, use the Diagram property.
To refer to an individual child diagram node, use the AddNode, CloneNode, NextNode or PrevNode methods or the Root property.
To refer to a collection of child diagram nodes, use the Children property.