scripts/aiv_ui.js
/**
     * @function resetPanZoomEventListener - reset zoom and pan
     * @param {object} AIVObj - reference to global namespace AIV object, with access to cytoscape methods
     */
@function resetPanZoomEventListener - reset zoom and pan
@param {object} AIVObj - reference to global namespace AIV object, with access to cytoscape methods
@function resetPanZoomEventListener - reset zoom and pan @param { object } AIVObj - reference to global namespace AIV object with access to cytoscape methods
function resetPanZoomEventListener(AIVObj){
        document.getElementById('zoomReset').addEventListener('click', function(event){
            AIVObj.cy.zoom(AIVObj.defaultZoom);
            AIVObj.cy.pan(AIVObj.defaultPan);
        });
    }
function resetPanZoomEventListener ( AIVObj ) { document . getElementById ( 'zoomReset' ) . addEventListener ( 'click' , function ( event ) { AIVObj . cy . zoom ( AIVObj . defaultZoom ) ; AIVObj . cy . pan ( AIVObj . defaultPan ) ; } ) ; }
@function resetPanZoomEventListener - reset zoom and pan
 @param {object} AIVObj - reference to global namespace AIV object, with access to cytoscape methods
@function resetPanZoomEventListener - reset zoom and pan @param { object } AIVObj - reference to global namespace AIV object with access to cytoscape methods