Links have a weird behavior when ports are positioned manually #283
jaimeatstariongroup
started this conversation in
General
Replies: 1 comment 1 reply
-
Hello, the control points of the curve are decided using the alignment of the ports. In your example, I believe those ports dont have a BottomLeft alignment, and that's why? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm creating a custom node with a shape of a ellipse and placing the ports manually around the perimeter. However the links between the ports have a weird behavior.
I don't know how the angles of the target/source are calculated but I thinks it should work something like this. In the image below the vector is calculated from center of the node to the port. I think that should help to display the ports in a better way.
Anyways, how can I achieve a behavior like the described? Because actually the diagram-svg-layer is below the diagram-html-layer so normally you wouldn't see some parts of the links.
Beta Was this translation helpful? Give feedback.
All reactions