MCPcopy Create free account
hub / github.com/nodejs/node / forEachEdge

Method forEachEdge

deps/v8/tools/turbolizer/src/graph.ts:36–43  ·  view source on GitHub ↗
(func: (e: GraphEdge) => void)

Source from the content-addressed store, hash-verified

34 }
35
36 public forEachEdge(func: (e: GraphEdge) => void) {
37 for (const node of this.nodeMap) {
38 if (!node) continue;
39 for (const edge of node.inputs) {
40 func(edge);
41 }
42 }
43 }
44
45 public redetermineGraphBoundingBox(showTypes: boolean): [[number, number], [number, number]] {
46 this.minGraphX = 0;

Callers 5

makeEdgesVisibleMethod · 0.95
initNodesMethod · 0.80
showAllActionMethod · 0.80
showControlActionMethod · 0.80

Calls 1

funcFunction · 0.50

Tested by

no test coverage detected