LinkShape::Nodes Property

 

Gets a list of shapes that are connected to the link shape.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
property LinkedElementCollection<NodeShape^>^ Nodes {
	virtual LinkedElementCollection<NodeShape^>^ get();
}

Property Value

Type: Microsoft.VisualStudio.Modeling::LinkedElementCollection<NodeShape^>^

A list of shapes that are connected to the link shape.

Although it is possible to navigate around a diagram by following the connections between NodeShapes and LinkShapes, we do not recommend that method unless you are adjusting their graphical properties. Usually, you would use ModelElement to get to the model element and then navigate the domain elements and relationships. For more information, see [redirect] How to: Navigate and Update a Diagram

Return to top
Show: