console/servlets/src/main/webapp/js/graph.js
// make vertex map of opId -> vertex
make vertex map of opId -> vertex
make vertex map of opId - > vertex
function makeVertexMap(vertices) {
    var vertexMap = {};
    vertices.forEach(function(vertex){
        vertexMap[vertex.id] = vertex;
    });
    return vertexMap;
}
function makeVertexMap ( vertices ) { var vertexMap = { } ; vertices . forEach ( function ( vertex ) { vertexMap [ vertex . id ] = vertex ; } ) ; return vertexMap ; }
make vertex map of opId -> vertex
make vertex map of opId - > vertex