[v11.0.x] Canvas: Fix connection hyperbolic bug (#87066)

Canvas: Fix connection hyperbolic bug (#87002)

* Canvas: Connection original persistence check

* Canvas: Fix connection hyperbolic bug

(cherry picked from commit 49fbe970fb)

Co-authored-by: Drew Slobodnjak <60050885+drew08t@users.noreply.github.com>
This commit is contained in:
grafana-delivery-bot[bot]
2024-04-29 10:08:27 -07:00
committed by GitHub
co-authored by Drew Slobodnjak
parent 73f86f1a7d
commit 877ce6e3cf
@@ -263,8 +263,8 @@ export const ConnectionSVG = ({
if (index < vertices.length - 1) {
// Not also the last point
const nextVertex = vertices[index + 1];
Xn = nextVertex.x * xDist + x1;
Yn = nextVertex.y * yDist + y1;
Xn = nextVertex.x * xDist + xStart;
Yn = nextVertex.y * yDist + yStart;
}
// Length of next segment