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