MCPcopy Create free account
hub / github.com/ciphermodelabs/ciphercore / add_annotation

Method add_annotation

ciphercore-base/src/graphs.rs:1330–1335  ·  view source on GitHub ↗
(&self, annotation: NodeAnnotation)

Source from the content-addressed store, hash-verified

1328
1329 #[doc(hidden)]
1330 pub fn add_annotation(&self, annotation: NodeAnnotation) -> Result<Node> {
1331 self.get_graph()
1332 .get_context()
1333 .add_node_annotation(self, annotation)?;
1334 Ok(self.clone())
1335 }
1336
1337 #[doc(hidden)]
1338 pub fn get_annotations(&self) -> Result<Vec<NodeAnnotation>> {

Callers 15

run_instantiation_passFunction · 0.80
test_annotationsFunction · 0.80
instantiateMethod · 0.80
instantiateMethod · 0.80
reshareFunction · 0.80
instantiateMethod · 0.80
test_oblivious_transferFunction · 0.80
instantiateMethod · 0.80
test_permutationFunction · 0.80

Calls 5

add_node_annotationMethod · 0.80
cloneMethod · 0.80
add_graph_annotationMethod · 0.80
get_contextMethod · 0.45
get_graphMethod · 0.45

Tested by 7

test_annotationsFunction · 0.64
test_oblivious_transferFunction · 0.64
test_permutationFunction · 0.64
test_duplicationFunction · 0.64
test_noopFunction · 0.64