plugins/incub/visualizer/old/src/js/demo_vivagraph.js
function toggleLayout() {
    $('.nodeLabel').remove();
    isPaused = !isPaused;
    if (isPaused) {
        $('#toggleLayout').html('<i class="fa fa-play"></i>Resume layout');
        renderer.pause();
    } else {
        $('#toggleLayout').html('<i class="fa fa-pause"></i>Pause layout');
        renderer.resume();
    }
    return false;
}
function toggleLayout() {
    $('.nodeLabel').remove();
    isPaused = !isPaused;
    if (isPaused) {
        $('#toggleLayout').html('<i class="fa fa-play"></i>Resume layout');
        renderer.pause();
    } else {
        $('#toggleLayout').html('<i class="fa fa-pause"></i>Pause layout');
        renderer.resume();
    }
    return false;
}
function toggleLayout ( ) { $ ( '.nodeLabel' ) . remove ( ) ; isPaused = ! isPaused ; if ( isPaused ) { $ ( '#toggleLayout' ) . html ( '<i class="fa fa-play"></i>Resume layout' ) ; renderer . pause ( ) ; } else { $ ( '#toggleLayout' ) . html ( '<i class="fa fa-pause"></i>Pause layout' ) ; renderer . resume ( ) ; } return false ; }
Allows the rendering to be paused or resumed
@returns {boolean}
Allows the rendering to be paused or resumed