pub fn batch(
topology: &Topology,
ids: &IdMap,
traversal: &Traversal,
nodes: &[Vec<Option<u32>>],
weights: Option<&[f64]>,
schema: Arc<Schema>,
) -> Result<RecordBatch>Expand description
Run traversal over a graph. nodes holds, per node parameter in order,
its ids as dense indexes (None for an id not in the graph or a null);
weights is one f64 per edge row for a weighted shortest path.