remove zooming in restrictions in the graph
Signed-off-by: Radu Ciopraga <1442639+raduciopraga@users.noreply.github.com>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user