MCPcopy Create free account
hub / github.com/RustAudio/dsp-chain / remove_connection

Method remove_connection

src/graph.rs:384–393  ·  view source on GitHub ↗

Find and remove any connection between a and b if there is one, whether it is *a -> b* or b -> a*. We know that their may only be one edge as our API does not allow for creating a cyclic graph. Returns true if an edge was removed, returns false if there was no edge at the given index. Graph will re-prepare its visit order if some edge was removed. Note: If you have an index to the edge you want

(&mut self, a: NodeIndex, b: NodeIndex)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

remove_edgeMethod · 0.80

Tested by

no test coverage detected