remove zooming in restrictions in the graph

Signed-off-by: Radu Ciopraga <1442639+raduciopraga@users.noreply.github.com>
This commit is contained in:
Radu Ciopraga
2023-07-10 15:33:59 +02:00
parent 1050f90423
commit 4317b1c2f4
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/core-components': patch
---
Remove zooming in restrictions in the catalog graph
@@ -241,7 +241,7 @@ export function DependencyGraph<NodeData, EdgeData>(
container.call(
d3Zoom
.zoom<SVGSVGElement, null>()
.scaleExtent([1, 10])
.scaleExtent([1, Infinity])
.on('zoom', event => {
event.transform.x = Math.min(
0,