INNER CODE UNIT · JavaScript
isBaseEntity
Brbb/graphql-rover · js/utils.js:4
function isBaseEntity(entityName){
return entityName.startsWith("__") || baseEntities.indexOf(entityName) > -1
}
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;
})