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

Method selectAllNodes

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

Source from the content-addressed store, hash-verified

707
708 // Hotkeys handlers
709 private selectAllNodes(): void {
710 if (!d3.event.shiftKey) {
711 this.state.selection.clear();
712 }
713 const allVisibleNodes = [...this.graph.nodes(node => node.visible)];
714 this.state.selection.select(allVisibleNodes, true);
715 this.updateGraphVisibility();
716 }
717
718 private selectOrigins(): void {
719 const selection = new SelectionStorage();

Callers 1

svgKeyDownMethod · 0.95

Calls 4

updateGraphVisibilityMethod · 0.95
clearMethod · 0.65
selectMethod · 0.65
nodesMethod · 0.45

Tested by

no test coverage detected