MCPcopy Create free account
hub / github.com/Snapchat/dagger-browser / getNode

Method getNode

browser/src/models/GraphManager.tsx:120–122  ·  view source on GitHub ↗
(component: string | undefined, node: string)

Source from the content-addressed store, hash-verified

118 }
119
120 getNode(component: string | undefined, node: string): Node | undefined {
121 return this.nodeMap[component ? component : ALL_COMPONENTS][node];
122 }
123
124 getModule(component: string, moduleName: string): Module {
125 const nodes = Object.values(this.nodeMap[component]).filter((node: Node) => {

Callers 9

getCallsitesMethod · 0.95
computeNodeWeightMethod · 0.95
computeWeightForNodesMethod · 0.95
shouldSkipWeightMethod · 0.95
getDependenciesFunction · 0.80
createdComponentFunction · 0.80
NodeSummaryFunction · 0.80
getDependenciesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected