INNER CODE UNIT · JavaScript

isFilteredEntity

Brbb/graphql-rover · js/utils.js:8

function isFilteredEntity(entityName){
    return filteredTypes.indexOf(entityName) > -1;
}

function initDragCapabilities(g,svg){

    svg.selectAll("g.node rect")
        .attr("id", function (d) {
        return "node" + d;
    });
    svg.selectAll("g.edgePath path")
        .attr("id", function (e) {
        return e.v + "-" + e.w;
    })
    g.nodes().forEach(function (v) {
        var node = g.node(v);
        node.customId = "node" + v;
    })

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…