See what a line is connected to and from in Nevron Diagram

Applies to: Nevron Diagram for .NET

How to see what a line is connected to and from in Nevron Diagram?

You can easily do that with the help of the FromShape and ToShape properties of the NShape class. They return the shapes to which a 1D shape start and end plugs are connected respectively. For example:

[C#]
NShape fromShape = shape.FromShape;
NShape toShape = shape.FromShape;

[VB.NET]
Dim fromShape As NShape = shape.FromShape
Dim toShape As NShape = shape.FromShape

Article ID: 44, Created On: 10/5/2010, Modified: 11/15/2010