Inner-Communication connections inside the same parent container to child nodes
Hello,
Requirements Details: I possess an AWS cloud provider DiagramComponent that visualizes nodes and containers. According to the attached VS 2022 solution, there are two VPC containers, one on the left and one on the right, with each container containing two Route-Table nodes, along with a TGW container positioned in the center.
Within each VPC container, I need to establish two inner-parent connections that should be originated from the only same parent port, linking the parent VPC container to the TGW container. However, these two connections must be directed internally within the container, ensuring they do not make contact with the edges of the parent VPC container — this is a Mandatory Rule. Consequently, the two connections should always pinned with the same parent container's port and be directed towards each Route-Table node within the same VPC container. Therefore, the connection must not extend or touch the exterior of the parent container.
Please be informed that I have already completed a portion of the implementation, which can be observed in the razor page included in the attached project.
However, I regret to inform you that I am unable to meet the requirements outlined above.
Any assistance from your end would be greatly appreciated.
Best Regards
John
Current Result:
The result should be as per screenshot below:
Attachment: DiagramConnection_e935cd65.zip
Hi John,
We noticed that you are currently using Orthogonal connectors. These connectors create paths composed of segments that are strictly perpendicular to each other—either horizontal or vertical. However, to meet your requirement of ensuring that connectors remain strictly within the parent container and do not cross its edges, we recommend using Straight connectors instead. Straight connectors allow you to define a direct connection path, helping ensure that lines are neatly contained within the desired area.
We have attached updated sample for your reference.
Regards,
Issac Immanuvel T
Attachment: Forum197507_cc318803.zip
I appreciate your prompt and effective assistance, Issac.
Best Regards
John
Hi John,
Thank you for the update. Please let us know if you require any further assistance on this. We will be happy to assist you.
Regards,
Preethi R