plugins/incub/visualizer/old/src/js/demo_vivagraph.js
function getNodeFromId(nodeId){
    var res = $.grep(gAllNodes, function(e) {
        return e._id === nodeId;
    });
    return res[0];
}
function getNodeFromId(nodeId){
    var res = $.grep(gAllNodes, function(e) {
        return e._id === nodeId;
    });
    return res[0];
}
function getNodeFromId ( nodeId ) { var res = $ . grep ( gAllNodes , function ( e ) { return e . _id === nodeId ; } ) ; return res [ 0 ] ; }
Function that will return the node from the id in parameter
@param nodeId
@returns {*}
Function that will return the node from the id in parameter