Nevron Forum

Problem with connectors! Need Help!

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

By Marcelo French - Tuesday, April 24, 2012

Hello, I have a problem with the connectors. When I load the diagram for the first time, when I click to collapse, the points of the connectors are collapsed together with the node (Attachment 1: BUG 1). When I remove a node and back to draw the diagram using

NDrawingDocument document = NDrawingView1.Document;

NLayer layer = (NLayer) document.Layers.GetChildAt (0);

document.Layers.RemoveAllChildren ();
document.Layers.AddChild (layer);
document.ActiveLayerUniqueId = layer.UniqueId;

Draw the diagram as well, but when I collapse a node works fine, but the connectors are in the same position, do not collapse together with the node (Attachment 2: BUG 2).

I need a quick response.

Thank you very much for your attention.
By Nevron Support - Wednesday, April 25, 2012

Hi,

When you remove a node all connectors that were connected to it become disconnected, so when you add another shape you want the connectors to be connected to you should manually reconnect them.

We also recommend you use routable connectors with the Layered Graph Layout if you want to use its orthogonal edge routing feature.

By Marcelo French - Wednesday, July 18, 2012

How I can do that?