MCPcopy Create free account
hub / github.com/algorithm-visualizer/algorithm-visualizer / removeAll

Method removeAll

src/core/layouts/Layout.js:31–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29 }
30
31 removeAll() {
32 this.children = [];
33 this.weights = [];
34 }
35
36 handleChangeWeights(weights) {
37 this.weights.splice(0, this.weights.length, ...weights);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected