scripts/aiv_ui.js
/**
     * @function spreadLayoutEventListener - change to cerebral/layered layout
     * @param {object} AIVObj - reference to global namespace AIV object, with access to cytoscape methods
     */
@function spreadLayoutEventListener - change to cerebral/layered layout
@param {object} AIVObj - reference to global namespace AIV object, with access to cytoscape methods
@function spreadLayoutEventListener - change to cerebral / layered layout @param { object } AIVObj - reference to global namespace AIV object with access to cytoscape methods
function localizationLayoutEventListener(AIVObj) {
        document.getElementById('localizationLayout').addEventListener('click', function(event){
            changeLayoutCyHouseCleaning(AIVObj, false);
            AIVObj.cy.reset();
            AIVObj.cy.layout(AIVObj.getCyCerebralLayout()).run();
        });
    }
function localizationLayoutEventListener ( AIVObj ) { document . getElementById ( 'localizationLayout' ) . addEventListener ( 'click' , function ( event ) { changeLayoutCyHouseCleaning ( AIVObj , false ) ; AIVObj . cy . reset ( ) ; AIVObj . cy . layout ( AIVObj . getCyCerebralLayout ( ) ) . run ( ) ; } ) ; }
@function spreadLayoutEventListener - change to cerebral/layered layout
 @param {object} AIVObj - reference to global namespace AIV object, with access to cytoscape methods
@function spreadLayoutEventListener - change to cerebral / layered layout @param { object } AIVObj - reference to global namespace AIV object with access to cytoscape methods