pub struct EdgeView<G> {
pub graph: G,
pub edge: EdgeRef,
}Expand description
A view of an edge in the graph.
Fields§
§graph: GA view of an edge in the graph.
edge: EdgeRefA reference to the edge.
Implementations§
Source§impl<'graph, G: GraphViewOps<'graph>> EdgeView<G>
impl<'graph, G: GraphViewOps<'graph>> EdgeView<G>
Source§impl<G: IntoDynamic> EdgeView<G>
impl<G: IntoDynamic> EdgeView<G>
pub fn into_dynamic(self) -> EdgeView<DynamicGraph>
Source§impl<G: GraphView> EdgeView<G>
impl<G: GraphView> EdgeView<G>
pub fn deletions_hist(&self) -> BoxedLIter<'_, (EventTime, usize)>
Source§impl<G: StaticGraphViewOps + InternalAdditionOps<Error = GraphError> + InternalPropertyAdditionOps<Error = GraphError> + InternalDeletionOps<Error = GraphError>> EdgeView<G>
impl<G: StaticGraphViewOps + InternalAdditionOps<Error = GraphError> + InternalPropertyAdditionOps<Error = GraphError> + InternalDeletionOps<Error = GraphError>> EdgeView<G>
pub fn delete<T: TryIntoInputTime>( &self, t: T, layer: Option<&str>, ) -> Result<(), GraphError>
Source§impl<G: StaticGraphViewOps + PropertyAdditionOps + AdditionOps> EdgeView<G>
impl<G: StaticGraphViewOps + PropertyAdditionOps + AdditionOps> EdgeView<G>
Sourcepub fn add_metadata<C: CollectProperties>(
&self,
properties: C,
layer: Option<&str>,
) -> Result<(), GraphError>
pub fn add_metadata<C: CollectProperties>( &self, properties: C, layer: Option<&str>, ) -> Result<(), GraphError>
Add metadata for the edge
§Arguments
properties- Property key-value pairs to addlayer- The layer to which properties should be added. If the edge view is restricted to a single layer, ‘None’ will add the properties to that layer and ‘Some(“name”)’ fails unless the layer matches the edge view. If the edge view is not restricted to a single layer, ‘None’ sets the properties on the default layer and ‘Some(“name”)’ sets the properties on layer ‘“name”’ and fails if that layer doesn’t exist.
Returns: Ok(()) if metadata added successfully. Err(GraphError) if the operation fails.
pub fn update_metadata<C: CollectProperties>( &self, props: C, layer: Option<&str>, ) -> Result<(), GraphError>
pub fn add_updates<C: CollectProperties, T: TryIntoInputTime>( &self, time: T, props: C, layer: Option<&str>, ) -> Result<(), GraphError>
Trait Implementations§
Source§impl<'graph, G: GraphViewOps<'graph>> Debug for EdgeView<G>
impl<'graph, G: GraphViewOps<'graph>> Debug for EdgeView<G>
Source§impl<'graph, G1: GraphViewOps<'graph>> Hash for EdgeView<G1>
impl<'graph, G1: GraphViewOps<'graph>> Hash for EdgeView<G1>
Source§impl<G: BoxableGraphView + Clone> InternalDeletionOps for EdgeView<G>
impl<G: BoxableGraphView + Clone> InternalDeletionOps for EdgeView<G>
Source§fn iter(&self) -> BoxedLIter<'_, EventTime>
fn iter(&self) -> BoxedLIter<'_, EventTime>
Source§fn iter_rev(&self) -> BoxedLIter<'_, EventTime>
fn iter_rev(&self) -> BoxedLIter<'_, EventTime>
Source§fn earliest_time(&self) -> Option<EventTime>
fn earliest_time(&self) -> Option<EventTime>
Source§fn latest_time(&self) -> Option<EventTime>
fn latest_time(&self) -> Option<EventTime>
Source§fn first(&self) -> Option<EventTime>
fn first(&self) -> Option<EventTime>
Source§impl<'graph, Current> InternalFilter<'graph> for EdgeView<Current>where
Current: GraphViewOps<'graph>,
impl<'graph, Current> InternalFilter<'graph> for EdgeView<Current>where
Current: GraphViewOps<'graph>,
type Graph = Current
type Filtered<Next: GraphViewOps<'graph>> = EdgeView<Next>
fn base_graph(&self) -> &Self::Graph
fn apply_filter<Next: GraphViewOps<'graph> + 'graph>( &self, filtered_graph: Next, ) -> Self::Filtered<Next>
Source§impl<G: BoxableGraphView + Clone> InternalHistoryOps for EdgeView<G>
impl<G: BoxableGraphView + Clone> InternalHistoryOps for EdgeView<G>
Source§fn iter(&self) -> BoxedLIter<'_, EventTime>
fn iter(&self) -> BoxedLIter<'_, EventTime>
Source§fn iter_rev(&self) -> BoxedLIter<'_, EventTime>
fn iter_rev(&self) -> BoxedLIter<'_, EventTime>
Source§fn earliest_time(&self) -> Option<EventTime>
fn earliest_time(&self) -> Option<EventTime>
Source§fn latest_time(&self) -> Option<EventTime>
fn latest_time(&self) -> Option<EventTime>
Source§impl<'graph, G: GraphViewOps<'graph>> InternalMetadataOps for EdgeView<G>
impl<'graph, G: GraphViewOps<'graph>> InternalMetadataOps for EdgeView<G>
Source§fn get_metadata_id(&self, name: &str) -> Option<usize>
fn get_metadata_id(&self, name: &str) -> Option<usize>
fn get_metadata_name(&self, id: usize) -> ArcStr
fn metadata_ids(&self) -> BoxedLIter<'_, usize>
fn metadata_keys(&self) -> BoxedLIter<'_, ArcStr>
fn get_metadata(&self, id: usize) -> Option<Prop>
fn metadata_values(&self) -> BoxedLIter<'_, Option<Prop>>
Source§impl<'graph, G: GraphViewOps<'graph>> InternalTemporalPropertiesOps for EdgeView<G>
impl<'graph, G: GraphViewOps<'graph>> InternalTemporalPropertiesOps for EdgeView<G>
fn get_temporal_prop_id(&self, name: &str) -> Option<usize>
fn get_temporal_prop_name(&self, id: usize) -> ArcStr
fn temporal_prop_ids(&self) -> BoxedLIter<'_, usize>
fn temporal_prop_keys(&self) -> BoxedLIter<'_, ArcStr>
Source§impl<G: GraphView> InternalTemporalPropertyViewOps for EdgeView<G>
impl<G: GraphView> InternalTemporalPropertyViewOps for EdgeView<G>
fn dtype(&self, id: usize) -> PropType
fn temporal_value(&self, id: usize) -> Option<Prop>
fn temporal_iter(&self, id: usize) -> BoxedLIter<'_, (EventTime, Prop)>
fn temporal_iter_rev(&self, id: usize) -> BoxedLIter<'_, (EventTime, Prop)>
fn temporal_value_at(&self, id: usize, t: EventTime) -> Option<Prop>
fn temporal_history_iter(&self, id: usize) -> BoxedLIter<'_, EventTime>
fn temporal_history_iter_rev(&self, id: usize) -> BoxedLIter<'_, EventTime>
fn temporal_values_iter(&self, id: usize) -> BoxedLIter<'_, Prop>
fn temporal_values_iter_rev(&self, id: usize) -> BoxedLIter<'_, Prop>
Source§impl<G: BoxableGraphView + Clone + 'static> IntoArcDynHistoryOps for EdgeView<G>
impl<G: BoxableGraphView + Clone + 'static> IntoArcDynHistoryOps for EdgeView<G>
Source§fn into_arc_dyn(self) -> Arc<dyn InternalHistoryOps>
fn into_arc_dyn(self) -> Arc<dyn InternalHistoryOps>
InternalHistoryOps into an ArcSend + Sync). Particularly useful for Python.Source§impl<'graph_1, G1: GraphViewOps<'graph_1>> Ord for EdgeView<G1>
impl<'graph_1, G1: GraphViewOps<'graph_1>> Ord for EdgeView<G1>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl<'graph_1, 'graph_2, G1: GraphViewOps<'graph_1>, G2: GraphViewOps<'graph_2>> PartialEq<EdgeView<G2>> for EdgeView<G1>
impl<'graph_1, 'graph_2, G1: GraphViewOps<'graph_1>, G2: GraphViewOps<'graph_2>> PartialEq<EdgeView<G2>> for EdgeView<G1>
Source§impl<'graph_1, 'graph_2, G1: GraphViewOps<'graph_1>, G2: GraphViewOps<'graph_2>> PartialOrd<EdgeView<G2>> for EdgeView<G1>
impl<'graph_1, 'graph_2, G1: GraphViewOps<'graph_1>, G2: GraphViewOps<'graph_2>> PartialOrd<EdgeView<G2>> for EdgeView<G1>
impl<G: Copy> Copy for EdgeView<G>
impl<'graph, G: GraphViewOps<'graph>> Eq for EdgeView<G>
impl<G> Static for EdgeView<G>
Auto Trait Implementations§
impl<G> Freeze for EdgeView<G>where
G: Freeze,
impl<G> RefUnwindSafe for EdgeView<G>where
G: RefUnwindSafe,
impl<G> Send for EdgeView<G>where
G: Send,
impl<G> Sync for EdgeView<G>where
G: Sync,
impl<G> Unpin for EdgeView<G>where
G: Unpin,
impl<G> UnsafeUnpin for EdgeView<G>where
G: UnsafeUnpin,
impl<G> UnwindSafe for EdgeView<G>where
G: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<'graph, E> EdgeViewOps<'graph> for Ewhere
E: BaseEdgeViewOps<'graph>,
impl<'graph, E> EdgeViewOps<'graph> for Ewhere
E: BaseEdgeViewOps<'graph>,
Source§fn history(
&self,
) -> <E as EdgeViewOps<'graph>>::ValueType<History<'graph, EdgeView<<E as EdgeViewOps<'graph>>::Graph>>>
fn history( &self, ) -> <E as EdgeViewOps<'graph>>::ValueType<History<'graph, EdgeView<<E as EdgeViewOps<'graph>>::Graph>>>
History object for the edge
Source§fn deletions(
&self,
) -> <E as EdgeViewOps<'graph>>::ValueType<History<'graph, DeletionHistory<EdgeView<<E as EdgeViewOps<'graph>>::Graph>>>>
fn deletions( &self, ) -> <E as EdgeViewOps<'graph>>::ValueType<History<'graph, DeletionHistory<EdgeView<<E as EdgeViewOps<'graph>>::Graph>>>>
Returns: History:
Source§fn is_deleted(&self) -> <E as EdgeViewOps<'graph>>::ValueType<bool>
fn is_deleted(&self) -> <E as EdgeViewOps<'graph>>::ValueType<bool>
Returns: boolean:
Source§fn is_self_loop(&self) -> <E as EdgeViewOps<'graph>>::ValueType<bool>
fn is_self_loop(&self) -> <E as EdgeViewOps<'graph>>::ValueType<bool>
Returns true if the source and destination nodes are identical.
Returns: boolean:
Source§fn properties(
&self,
) -> <E as EdgeViewOps<'graph>>::ValueType<Properties<<E as EdgeViewOps<'graph>>::PropType>>
fn properties( &self, ) -> <E as EdgeViewOps<'graph>>::ValueType<Properties<<E as EdgeViewOps<'graph>>::PropType>>
Returns a view of the properties of the edge
Returns: properties:
Source§fn metadata(
&self,
) -> <E as EdgeViewOps<'graph>>::ValueType<Metadata<'graph, <E as EdgeViewOps<'graph>>::PropType>>
fn metadata( &self, ) -> <E as EdgeViewOps<'graph>>::ValueType<Metadata<'graph, <E as EdgeViewOps<'graph>>::PropType>>
Returns: metadata:
Source§fn src(&self) -> <E as EdgeViewOps<'graph>>::Nodes
fn src(&self) -> <E as EdgeViewOps<'graph>>::Nodes
Returns the source node of the edge.
Returns: Nodes:
Source§fn dst(&self) -> <E as EdgeViewOps<'graph>>::Nodes
fn dst(&self) -> <E as EdgeViewOps<'graph>>::Nodes
Returns the destination node of the edge.
Returns: Nodes:
Source§fn nbr(&self) -> <E as EdgeViewOps<'graph>>::Nodes
fn nbr(&self) -> <E as EdgeViewOps<'graph>>::Nodes
Returns: Nodes:
Source§fn is_active(&self) -> <E as EdgeViewOps<'graph>>::ValueType<bool>
fn is_active(&self) -> <E as EdgeViewOps<'graph>>::ValueType<bool>
Check if an edge is active (has some update within the current bound) at a given time point.
Returns: bool:
Source§fn explode(&self) -> <E as EdgeViewOps<'graph>>::Exploded
fn explode(&self) -> <E as EdgeViewOps<'graph>>::Exploded
Explodes an edge and returns all instances it had been updated as seperate edges
Source§fn earliest_time(
&self,
) -> <E as EdgeViewOps<'graph>>::ValueType<Option<EventTime>>
fn earliest_time( &self, ) -> <E as EdgeViewOps<'graph>>::ValueType<Option<EventTime>>
Gets the first time an edge was seen
Source§fn latest_time(
&self,
) -> <E as EdgeViewOps<'graph>>::ValueType<Option<EventTime>>
fn latest_time( &self, ) -> <E as EdgeViewOps<'graph>>::ValueType<Option<EventTime>>
Gets the latest time an edge was updated
Source§fn time(
&self,
) -> <E as EdgeViewOps<'graph>>::ValueType<Result<EventTime, GraphError>>
fn time( &self, ) -> <E as EdgeViewOps<'graph>>::ValueType<Result<EventTime, GraphError>>
Gets the time of the edge if it is exploded
Source§fn layer_name(
&self,
) -> <E as EdgeViewOps<'graph>>::ValueType<Result<ArcStr, GraphError>>
fn layer_name( &self, ) -> <E as EdgeViewOps<'graph>>::ValueType<Result<ArcStr, GraphError>>
Gets the layer name for the edge if it is restricted to a single layer
Source§fn time_and_event_id(
&self,
) -> <E as EdgeViewOps<'graph>>::ValueType<Result<EventTime, GraphError>>
fn time_and_event_id( &self, ) -> <E as EdgeViewOps<'graph>>::ValueType<Result<EventTime, GraphError>>
Gets the EventTime if the edge is exploded
Source§fn layer_names(&self) -> <E as EdgeViewOps<'graph>>::ValueType<Vec<ArcStr>>
fn layer_names(&self) -> <E as EdgeViewOps<'graph>>::ValueType<Vec<ArcStr>>
Gets the name of the layer this edge belongs to
type ValueType<T: 'graph> = <E as BaseEdgeViewOps<'graph>>::ValueType<T>
type PropType = <E as BaseEdgeViewOps<'graph>>::PropType
type Graph = <E as BaseEdgeViewOps<'graph>>::Graph
type Nodes = <E as BaseEdgeViewOps<'graph>>::Nodes
type Exploded = <E as BaseEdgeViewOps<'graph>>::Exploded
Source§fn id(&self) -> <E as EdgeViewOps<'graph>>::ValueType<(GID, GID)>
fn id(&self) -> <E as EdgeViewOps<'graph>>::ValueType<(GID, GID)>
Source§fn explode_layers(&self) -> <E as EdgeViewOps<'graph>>::Exploded
fn explode_layers(&self) -> <E as EdgeViewOps<'graph>>::Exploded
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<'graph, T> Filter<'graph> for Twhere
T: InternalFilter<'graph>,
impl<'graph, T> Filter<'graph> for Twhere
T: InternalFilter<'graph>,
fn filter<F: CreateFilter>( &self, filter: F, ) -> Result<Self::Filtered<F::EntityFiltered<'graph, F::FilteredGraph<'graph, Self::Graph>>>, GraphError>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoDynHop for T
impl<T> IntoDynHop for T
fn into_dyn_hop(self) -> <T as InternalFilter<'static>>::Filtered<DynamicGraph>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<'graph, V> LayerOps<'graph> for Vwhere
V: InternalFilter<'graph> + 'graph,
impl<'graph, V> LayerOps<'graph> for Vwhere
V: InternalFilter<'graph> + 'graph,
type LayeredViewType = <V as InternalFilter<'graph>>::Filtered<LayeredGraph<<V as InternalFilter<'graph>>::Graph>>
Source§fn default_layer(&self) -> <V as LayerOps<'graph>>::LayeredViewType
fn default_layer(&self) -> <V as LayerOps<'graph>>::LayeredViewType
Source§fn layers<L>(
&self,
layers: L,
) -> Result<<V as LayerOps<'graph>>::LayeredViewType, GraphError>
fn layers<L>( &self, layers: L, ) -> Result<<V as LayerOps<'graph>>::LayeredViewType, GraphError>
names. Errors if one or more of the layers do not exists.Source§fn exclude_layers<L>(
&self,
layers: L,
) -> Result<<V as LayerOps<'graph>>::LayeredViewType, GraphError>
fn exclude_layers<L>( &self, layers: L, ) -> Result<<V as LayerOps<'graph>>::LayeredViewType, GraphError>
names. Errors if one or more of the layers do not exists.fn exclude_valid_layers<L>( &self, layers: L, ) -> <V as LayerOps<'graph>>::LayeredViewType
Source§fn has_layer<L>(&self, name: L) -> boolwhere
L: SingleLayer,
fn has_layer<L>(&self, name: L) -> boolwhere
L: SingleLayer,
name is a valid layer nameSource§fn valid_layers<L>(&self, names: L) -> <V as LayerOps<'graph>>::LayeredViewType
fn valid_layers<L>(&self, names: L) -> <V as LayerOps<'graph>>::LayeredViewType
names. Any layers that do not exist are ignored.Source§fn num_layers(&self) -> usize
fn num_layers(&self) -> usize
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<'graph, V> TimeOps<'graph> for Vwhere
V: InternalFilter<'graph> + 'graph + InternalTimeOps<'graph>,
impl<'graph, V> TimeOps<'graph> for Vwhere
V: InternalFilter<'graph> + 'graph + InternalTimeOps<'graph>,
type WindowedViewType = <V as InternalTimeOps<'graph>>::InternalWindowedView
Source§fn start(&self) -> Option<EventTime>
fn start(&self) -> Option<EventTime>
Source§fn end(&self) -> Option<EventTime>
fn end(&self) -> Option<EventTime>
Source§fn shrink_start<T>(&self, start: T) -> <V as TimeOps<'graph>>::WindowedViewTypewhere
T: IntoTime,
fn shrink_start<T>(&self, start: T) -> <V as TimeOps<'graph>>::WindowedViewTypewhere
T: IntoTime,
start and self.start()Source§fn shrink_end<T>(&self, end: T) -> <V as TimeOps<'graph>>::WindowedViewTypewhere
T: IntoTime,
fn shrink_end<T>(&self, end: T) -> <V as TimeOps<'graph>>::WindowedViewTypewhere
T: IntoTime,
end and self.end()Source§fn shrink_window<T>(
&self,
start: T,
end: T,
) -> <V as TimeOps<'graph>>::WindowedViewTypewhere
T: IntoTime,
fn shrink_window<T>(
&self,
start: T,
end: T,
) -> <V as TimeOps<'graph>>::WindowedViewTypewhere
T: IntoTime,
shrink_start followed by shrink_end but more efficient)Source§fn window_size(&self) -> Option<u64>
fn window_size(&self) -> Option<u64>
Source§fn window<T1, T2>(
&self,
start: T1,
end: T2,
) -> <V as TimeOps<'graph>>::WindowedViewType
fn window<T1, T2>( &self, start: T1, end: T2, ) -> <V as TimeOps<'graph>>::WindowedViewType
start (inclusive) and end (exclusive)Source§fn at<T>(&self, time: T) -> <V as TimeOps<'graph>>::WindowedViewTypewhere
T: IntoTime,
fn at<T>(&self, time: T) -> <V as TimeOps<'graph>>::WindowedViewTypewhere
T: IntoTime,
timeSource§fn latest(&self) -> <V as TimeOps<'graph>>::WindowedViewType
fn latest(&self) -> <V as TimeOps<'graph>>::WindowedViewType
Source§fn snapshot_at<T>(&self, time: T) -> <V as TimeOps<'graph>>::WindowedViewTypewhere
T: IntoTime,
fn snapshot_at<T>(&self, time: T) -> <V as TimeOps<'graph>>::WindowedViewTypewhere
T: IntoTime,
time Read moreSource§fn snapshot_latest(&self) -> <V as TimeOps<'graph>>::WindowedViewType
fn snapshot_latest(&self) -> <V as TimeOps<'graph>>::WindowedViewType
Source§fn after<T>(&self, start: T) -> <V as TimeOps<'graph>>::WindowedViewTypewhere
T: IntoTime,
fn after<T>(&self, start: T) -> <V as TimeOps<'graph>>::WindowedViewTypewhere
T: IntoTime,
start (exclusive)Source§fn before<T>(&self, end: T) -> <V as TimeOps<'graph>>::WindowedViewTypewhere
T: IntoTime,
fn before<T>(&self, end: T) -> <V as TimeOps<'graph>>::WindowedViewTypewhere
T: IntoTime,
end (exclusive)Source§fn expanding<I>(&self, step: I) -> Result<WindowSet<'graph, V>, ParseTimeError>
fn expanding<I>(&self, step: I) -> Result<WindowSet<'graph, V>, ParseTimeError>
WindowSet with the given step size
using an expanding window. The last window may fall partially outside the range of the data/view. Read moreSource§fn expanding_aligned<I>(
&self,
step: I,
alignment_unit: AlignmentUnit,
) -> Result<WindowSet<'graph, V>, ParseTimeError>
fn expanding_aligned<I>( &self, step: I, alignment_unit: AlignmentUnit, ) -> Result<WindowSet<'graph, V>, ParseTimeError>
WindowSet with the given step size using an expanding window, where the windows are aligned
with the alignment_unit passed. The last window may fall partially outside the range of the data/view. Read moreSource§fn rolling<I>(
&self,
window: I,
step: Option<I>,
) -> Result<WindowSet<'graph, V>, ParseTimeError>
fn rolling<I>( &self, window: I, step: Option<I>, ) -> Result<WindowSet<'graph, V>, ParseTimeError>
WindowSet with the given window size and optional step
using a rolling window. The last window may fall partially outside the range of the data/view.
Note that passing a step larger than window can lead to some entries appearing before
the start of the first window and/or after the end of the last window (i.e. not included in any window) Read moreSource§fn rolling_aligned<I>(
&self,
window: I,
step: Option<I>,
alignment_unit: AlignmentUnit,
) -> Result<WindowSet<'graph, V>, ParseTimeError>
fn rolling_aligned<I>( &self, window: I, step: Option<I>, alignment_unit: AlignmentUnit, ) -> Result<WindowSet<'graph, V>, ParseTimeError>
WindowSet with the given window size and optional step using a rolling window, where the windows
are aligned with the alignment_unit passed. The last window may fall partially outside the range of the data/view.
Note that, depending on the alignment_unit, passing a step larger than window can lead to some entries
appearing before the start of the first window and/or after the end of the last window (i.e. not included in any window) Read more