plugins/incub/visualizer/old/src/js/demo_vivagraph.js
function highlightNodeWebGL(node) {
    var ui = graphics.getNodeUI(node._id);
    if (prevNodeUI){
        prevNodeUI.size = NODE_SIZE;
        //prevNodeUI.color = hexColorToWebGLColor(colorsByNodeType[node._type]);
    }
    prevNodeUI = ui;

    ui.size = NODE_SIZE * 4;
    //ui.color = 0xFFA500FF; //orange
    if (isPaused){
        renderer.rerender();
    }
}
function highlightNodeWebGL(node) {
    var ui = graphics.getNodeUI(node._id);
    if (prevNodeUI){
        prevNodeUI.size = NODE_SIZE;
        //prevNodeUI.color = hexColorToWebGLColor(colorsByNodeType[node._type]);
    }
    prevNodeUI = ui;

    ui.size = NODE_SIZE * 4;
    //ui.color = 0xFFA500FF; //orange
    if (isPaused){
        renderer.rerender();
    }
}
function highlightNodeWebGL ( node ) { var ui = graphics . getNodeUI ( node . _id ) ; if ( prevNodeUI ) { prevNodeUI . size = NODE_SIZE ; //prevNodeUI.color = hexColorToWebGLColor(colorsByNodeType[node._type]); } prevNodeUI = ui ; ui . size = NODE_SIZE * 4 ; //ui.color = 0xFFA500FF; //orange if ( isPaused ) { renderer . rerender ( ) ; } }
Highlight function especially for WebGL
@param node
Highlight function especially for WebGL