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

Method iter

raphtory/src/db/task/node/eval_node.rs:247–254  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

245 }
246
247 pub fn iter(&self) -> impl Iterator<Item = EvalNodeView<'graph, 'a, G, S, CS>> + 'graph {
248 let base_graph = self.eval_graph.clone();
249 let index = self.eval_graph.index;
250 self.iter_refs().map(move |v| {
251 let state_pos = index.index(&v).expect("VID not found in index");
252 EvalNodeView::new_filtered(v, state_pos, base_graph.clone(), None)
253 })
254 }
255
256 pub fn type_filter<I: IntoIterator<Item = V>, V: AsRef<str>>(&self, node_types: I) -> Self {
257 let node_types_filter = create_node_type_filter(

Callers 3

run_task_listMethod · 0.45
run_mergeMethod · 0.45
into_iterMethod · 0.45

Calls 4

cloneMethod · 0.45
mapMethod · 0.45
iter_refsMethod · 0.45
indexMethod · 0.45

Tested by

no test coverage detected