We've the requirement to have 2 layers in the application.
1. Layer 1 will contain rectangular boxes(shapes) representing containers.
2. Layer 2 will contain basic shapes and connector connecting these Layer 2 shapes.
3. At any point only one layer is active
4. When any shapes are connected together in layer 2 using Dynamic HV connector...it's treating layer boxes as obstacle and routing the connector outside and then connecting the shapes. Please ref attachment.
5.If any other connector - side to side or nstep connector it is contained within layer 2.
Please let us know how avoid the behaviour as seen point 4.
//Pramod