scripts/aiv_ui.js
/**
     * @function panUp - simple UI function to pan up 100 pixels on cy core
     * @param {object} AIVObj - reference to global namespace AIV object, with access to cytoscape methods
     */
@function panUp - simple UI function to pan up 100 pixels on cy core
@param {object} AIVObj - reference to global namespace AIV object, with access to cytoscape methods
@function panUp - simple UI function to pan up 100 pixels on cy core @param { object } AIVObj - reference to global namespace AIV object with access to cytoscape methods
function panUp(AIVObj){
        document.getElementById('panUp').addEventListener('click', function(){
            AIVObj.cy.panBy({ x: 0, y: 100});
        });
    }
function panUp ( AIVObj ) { document . getElementById ( 'panUp' ) . addEventListener ( 'click' , function ( ) { AIVObj . cy . panBy ( { x : 0 , y : 100 } ) ; } ) ; }
@function panUp - simple UI function to pan up 100 pixels on cy core
 @param {object} AIVObj - reference to global namespace AIV object, with access to cytoscape methods
@function panUp - simple UI function to pan up 100 pixels on cy core @param { object } AIVObj - reference to global namespace AIV object with access to cytoscape methods