MCPcopy Create free account
hub / github.com/Effect-TS/effect / removeNodes

Function removeNodes

packages/effect/test/Graph.test.ts:3829–3833  ·  view source on GitHub ↗
(mutable: Graph.MutableDirectedGraph<string, number>, nodes: Array<Graph.NodeIndex>)

Source from the content-addressed store, hash-verified

3827 }
3828
3829 const removeNodes = (mutable: Graph.MutableDirectedGraph<string, number>, nodes: Array<Graph.NodeIndex>) => {
3830 for (const node of nodes) {
3831 Graph.removeNode(mutable, node)
3832 }
3833 }
3834
3835 it("should provide values() method for DFS iterator", () => {
3836 const graph = Graph.directed<string, number>((mutable) => {

Callers 1

Graph.test.tsFile · 0.85

Calls 1

removeNodeMethod · 0.80

Tested by

no test coverage detected