Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
id = getProviderId(node.getMetadata());
name = getProviderName(node.getMetadata());
}
else {
id = getId(node.symbol);
name = node.symbol.name;
}
nodes[id] = {
id: id,
label: name,
data: {
symbol: node,
metadata: null
},
type: {
angular: node instanceof ngast.Symbol ? isAngularSymbol(node.symbol) : isAngularSymbol(node.getMetadata()),
type: symbolType
}
};
edges.push({
from: parentSet,
to: id
});
};
return ModuleState;