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

Method layoutAction

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

Source from the content-addressed store, hash-verified

606
607 // Actions (handlers of toolbox menu and hotkeys events)
608 private layoutAction(view: GraphView): void {
609 view.updateGraphStateType(GraphStateType.NeedToFullRebuild);
610 view.layoutGraph();
611 view.updateGraphVisibility();
612 view.viewWholeGraph();
613 view.focusOnSvg();
614 }
615
616 private showAllAction(view: GraphView): void {
617 for (const node of view.graph.nodes()) {

Callers 1

svgKeyDownMethod · 0.95

Calls 2

layoutGraphMethod · 0.45
updateGraphVisibilityMethod · 0.45

Tested by

no test coverage detected