Merge pull request #18620 from raduciopraga/bugfix/graph-zoom-in

remove zooming in restrictions in the graph
This commit is contained in:
Ben Lambert
2023-07-11 10:23:24 +02:00
committed by GitHub
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,