Nevron Forum

How to take list of connected shapes?

https://www.nevron.com/Forum/Topic5165.aspx

By Maxim Dobryakov - Friday, May 27, 2011

Hello, All

I have created diagram (see attachment). How to get a list of connected shapes for specified shape? For example in my case for rectangle shape it should be 3 lines which connect shapes.

Let's me know if required additional information.

Thanks
By Nevron Support - Friday, May 27, 2011

Hi Maxim,

Depending on your scenario you can use one of the following methods of the NShape class:

 

·         GetIncommingShapes – gets all connectors which end plug is connected to the shape

·         GetOutgoingShapes – gets all connectors which start plug is connected to the shape

·         GetShapesConnectedToInwardPorts – gets all of the above