mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 17:37:37 -02:30
Zoom in/out on entire SVG canvas.
This commit is contained in:
@@ -126,7 +126,7 @@ function MeshGraph({ data }) {
|
|||||||
.zoom()
|
.zoom()
|
||||||
.scaleExtent([1, 8])
|
.scaleExtent([1, 8])
|
||||||
.on('zoom', (event) => {
|
.on('zoom', (event) => {
|
||||||
svg.selectAll('.links, .nodes').attr('transform', event.transform);
|
svg.attr('transform', event.transform);
|
||||||
});
|
});
|
||||||
|
|
||||||
/* Add SVG */
|
/* Add SVG */
|
||||||
|
|||||||
Reference in New Issue
Block a user