Group: Forum Members
Last Active: 14 Years Ago
Posts: 13,
Visits: 1
|
Hi,
I have managed to create a diagram using shapes and edges. for each shape i create, i do:
/// Create an edge connecting shpaes in the tree diagram /// private void CreateEdge(NShape parentShape, NShape childShape) { NRoutableConnector edge = new NRoutableConnector(); edge.ConnectorType = RoutableConnectorType.DynamicPolyline; edge.StyleSheetName = "CustomConnectors"; document.ActiveLayer.AddChild(edge); edge.FromShape = parentShape; edge.ToShape = childShape; }
When a certain shape is given, how can I get to its child shapes?
|