scripts/aiv_ui.js
/**
     * @function zoomOutEventListener - zoom out e listener
     * @param {object} AIVObj - reference to global namespace AIV object, with access to cytoscape methods
     */
@function zoomOutEventListener - zoom out e listener
@param {object} AIVObj - reference to global namespace AIV object, with access to cytoscape methods
@function zoomOutEventListener - zoom out e listener @param { object } AIVObj - reference to global namespace AIV object with access to cytoscape methods
function zoomOutEventListener(AIVObj){
        document.getElementById('zoomOut').addEventListener('click', function(event){
            AIVObj.cy.zoom({
                level: AIVObj.cy.zoom()*0.5,
                renderedPosition: { x: AIVObj.cy.height()/2, y: AIVObj.cy.width()/2},
            });
        });
    }
function zoomOutEventListener ( AIVObj ) { document . getElementById ( 'zoomOut' ) . addEventListener ( 'click' , function ( event ) { AIVObj . cy . zoom ( { level : AIVObj . cy . zoom ( ) * 0.5 , renderedPosition : { x : AIVObj . cy . height ( ) / 2 , y : AIVObj . cy . width ( ) / 2 } , } ) ; } ) ; }
@function zoomOutEventListener - zoom out e listener
 @param {object} AIVObj - reference to global namespace AIV object, with access to cytoscape methods
@function zoomOutEventListener - zoom out e listener @param { object } AIVObj - reference to global namespace AIV object with access to cytoscape methods