MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / add_edge

Method add_edge

tests/fixtures/sample.rs:16–18  ·  view source on GitHub ↗
(&mut self, src: String, tgt: String)

Source from the content-addressed store, hash-verified

14 }
15
16 fn add_edge(&mut self, src: String, tgt: String) {
17 self.nodes.entry(src).or_default().push(tgt);
18 }
19}
20
21fn build_graph(edges: Vec<(String, String)>) -> Graph {

Callers 15

build_from_jsonFunction · 0.95
build_graphFunction · 0.95
to_htmlFunction · 0.95
_partitionFunction · 0.95
_graphFunction · 0.95
_make_graphFunction · 0.95
_make_two_edge_graphFunction · 0.95
_make_graphFunction · 0.95

Calls

no outgoing calls