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

Method import_node_as

raphtory/src/python/graph/graph.rs:518–525  ·  view source on GitHub ↗
(
        &self,
        node: PyNode,
        new_id: GID,
        merge: bool,
    )

Source from the content-addressed store, hash-verified

516 /// GraphError: If the operation fails.
517 #[pyo3(signature = (node, new_id, merge = false))]
518 pub fn import_node_as(
519 &self,
520 node: PyNode,
521 new_id: GID,
522 merge: bool,
523 ) -> Result<NodeView<'static, Graph>, GraphError> {
524 self.graph.import_node_as(&node.node, new_id, merge)
525 }
526
527 /// Import multiple nodes into the graph.
528 ///

Callers 4

test_import_node_asFunction · 0.45
import_node_asFunction · 0.45
import_node_as_mergeFunction · 0.45

Calls

no outgoing calls

Tested by 4

test_import_node_asFunction · 0.36
import_node_asFunction · 0.36
import_node_as_mergeFunction · 0.36