scripts/aiv_ui.js
/**
     * @function hideUnhideDNA - event listener binding function for hiding DNA nodes
     * @param {object} AIVObj - reference to the AIV namespace object
     */
@function hideUnhideDNA - event listener binding function for hiding DNA nodes
@param {object} AIVObj - reference to the AIV namespace object
@function hideUnhideDNA - event listener binding function for hiding DNA nodes @param { object } AIVObj - reference to the AIV namespace object
function hideUnhideDNA(AIVObj) {
        document.getElementById('hideDNADiv').addEventListener('click', function(event){
            AIVObj.cy.$('node[id ^= "DNA"]').toggleClass('DNAfilter', $("#hideDNAEye").hasClass('fa-eye'));
            $("#hideDNAEye").toggleClass('fa-eye fa-eye-slash');
        });
    }
function hideUnhideDNA ( AIVObj ) { document . getElementById ( 'hideDNADiv' ) . addEventListener ( 'click' , function ( event ) { AIVObj . cy . $ ( 'node[id ^= "DNA"]' ) . toggleClass ( 'DNAfilter' , $ ( "#hideDNAEye" ) . hasClass ( 'fa-eye' ) ) ; $ ( "#hideDNAEye" ) . toggleClass ( 'fa-eye fa-eye-slash' ) ; } ) ; }
@function hideUnhideDNA - event listener binding function for hiding DNA nodes
 @param {object} AIVObj - reference to the AIV namespace object
@function hideUnhideDNA - event listener binding function for hiding DNA nodes @param { object } AIVObj - reference to the AIV namespace object