MCPcopy Create free account
hub / github.com/Pometry/Raphtory / import_edges

Method import_edges

raphtory/src/python/graph/graph.rs:627–630  ·  view source on GitHub ↗
(&self, edges: FromIterable<PyEdge>, merge: bool)

Source from the content-addressed store, hash-verified

625 /// GraphError: If the operation fails.
626 #[pyo3(signature = (edges, merge = false))]
627 pub fn import_edges(&self, edges: FromIterable<PyEdge>, merge: bool) -> Result<(), GraphError> {
628 let edge_views = edges.iter().map(|edge| &edge.edge);
629 self.graph.import_edges(edge_views, merge)
630 }
631
632 /// Import multiple edges into the graph with new ids.
633 ///

Callers 6

test_import_into_graphFunction · 0.45
test_import_with_intFunction · 0.45
test_import_edgesFunction · 0.45
export_toMethod · 0.45

Calls 2

mapMethod · 0.45
iterMethod · 0.45

Tested by 5

test_import_into_graphFunction · 0.36
test_import_with_intFunction · 0.36
test_import_edgesFunction · 0.36