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

Method showControlAction

deps/v8/tools/turbolizer/src/views/graph-view.ts:628–636  ·  view source on GitHub ↗
(view: GraphView)

Source from the content-addressed store, hash-verified

626 }
627
628 private showControlAction(view: GraphView): void {
629 for (const node of view.graph.nodes()) {
630 node.visible = node.cfg && (!view.state.hideDead || node.isLive());
631 }
632 view.graph.forEachEdge((edge: GraphEdge) => {
633 edge.visible = edge.type === "control" && edge.source.visible && edge.target.visible;
634 });
635 view.showVisible();
636 }
637
638 private hideUnselectedAction(view: GraphView): void {
639 for (const node of view.graph.nodes()) {

Callers 1

createGraphMethod · 0.95

Calls 3

isLiveMethod · 0.80
forEachEdgeMethod · 0.80
nodesMethod · 0.45

Tested by

no test coverage detected