Get all edges from a span (convenience method). Equivalent to `iter_adjacent` with full flag range, collecting results into a Vec.
(
&self,
node: GraphNode<NodeId>,
)
| 129 | /// Equivalent to `iter_adjacent` with full flag range, collecting |
| 130 | /// results into a Vec. |
| 131 | fn get_edges( |
| 132 | &self, |
| 133 | node: GraphNode<NodeId>, |
| 134 | ) -> Result<Vec<SerializedGraphEdge>, PristineError> { |
| 135 | let iter = self.iter_adjacent(node, EdgeFlags::empty(), EdgeFlags::all())?; |
| 136 | iter.collect() |
| 137 | } |
| 138 | |
| 139 | /// Get the type of a node (Change, Tag, or Attestation). |
| 140 | /// |