MCPcopy Create free account
hub / github.com/adobe/Marinus / doZoom

Function doZoom

web_server/public/javascripts/draw_graph.js:795–797  ·  view source on GitHub ↗
(event, obj)

Source from the content-addressed store, hash-verified

793
794/* eslint-disable-next-line no-unused-vars */
795function doZoom(event, obj) {
796 graph.svg.attr("transform", "translate(" + event.transform.x + ", " + event.transform.y + ") scale(" + event.transform.k + ")");
797}
798
799function doSearch() {
800 var item = document.getElementById('searchField').value;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected