Group: Forum Members
Last Active: 3 Years Ago
Posts: 3,
Visits: 200
|
Hi , I have this implementation where I use NGroup to group NShapes and NRou tableConnectors . However , when I try to move the NGroup , the NRou tableConnectors does not move in sync with the NShapes . Any possible solution regarding this problem ?
|
Group: Forum Members
Last Active: Last Month
Posts: 3,055,
Visits: 4,055
|
Hello Paul , You need to " glue " the connector to the group . You can glue the connector to several parts of a group / shape i . e . port or shape / group contour etc . Here is small code example : NGroup group = new NGroup (); NRou tableConnector rou tableConnector = new NRou tableConnector (); // glue to shape contour rou tableConnector . GlueBeginToShape ( group ); // or rou tableConnector . GlueEndToShape ( group ); // glue to port rou tableConnector . GlueBeginToNearestPort ( group ); // or rou tableConnector . GlueEndToNearestPort ( group ); Please , check NShape class in our documentation& nbsp ; to find other options to glue a connector to a shape or group .
Best Regards, Nevron Support Team
|