swh_graph/views/
mod.rs

1// Copyright (C) 2023  The Software Heritage developers
2// See the AUTHORS file at the top-level directory of this distribution
3// License: GNU General Public License version 3, or any later version
4// See top-level LICENSE file for more information
5
6//! Wrappers for [`SwhGraph`](crate::graph::SwhGraph) that filter or change the nodes and arcs it returns.
7
8#[cfg(feature = "unstable_contiguous_subgraph")]
9mod contiguous_subgraph;
10#[cfg(feature = "unstable_contiguous_subgraph")]
11pub use contiguous_subgraph::{ContiguousSubgraph, Contraction, ContractionBackend};
12mod spy;
13pub use spy::GraphSpy;
14mod subgraph;
15pub use subgraph::Subgraph;
16mod transposed;
17pub use transposed::Transposed;
18mod webgraph;
19pub use webgraph::WebgraphAdapter;