MCPcopy Index your code
hub / github.com/ciphermodelabs/ciphercore / get_id

Method get_id

ciphercore-base/src/graphs.rs:471–473  ·  view source on GitHub ↗

Returns the ID of the node. A node ID is a serial number of a node between `0` and `n-1` where `n` is the number of nodes in the parent graph. This number is equal to the number of nodes in the parent graph before this node was added to it. # Returns Node ID

(&self)

Source from the content-addressed store, hash-verified

469 ///
470 /// Node ID
471 pub fn get_id(&self) -> u64 {
472 self.body.borrow().id
473 }
474
475 /// Returns the pair of the parent graph ID and node ID
476 ///

Callers 15

get_node_global_idFunction · 0.45
evaluate_graphMethod · 0.45
get_global_idMethod · 0.45
make_serializableMethod · 0.45
add_nodeMethod · 0.45
set_graph_nameMethod · 0.45
get_graph_nameMethod · 0.45
set_node_nameMethod · 0.45
get_node_nameMethod · 0.45
retrieve_nodeMethod · 0.45
unregister_nodeMethod · 0.45
prepare_input_valuesMethod · 0.45

Calls

no outgoing calls

Tested by 2

calculate_ram_statsFunction · 0.36