transit_grid/graphs/mod.rs
1//! This module contains the definition and implementation of various types of graphs
2//! used to represent and manipulate transit networks.
3//!
4//! The `graphs` module provides three submodules:
5//!
6//! * `physical` - This module contains the `PhysicalGraph` structure and its associated functionality.
7//! The `PhysicalGraph` represents the physical layout of the transit network, including routes and nodes.
8//!
9//! * `topology` - This module contains the `TopologyGraph` and its associated structures (`TopoNode`, `TopoEdge`),
10//! as well as their related functionality.
11//! The `TopologyGraph` represents the topological layout of the transit network,
12//! abstracting away the details of the physical layout.
13//!
14//! * `transit_network` - This module contains the `TransitNetwork` structure,
15//! which provides a higher-level interface to the physical and topological graphs.
16//! It combines the functionalities of the physical and topological graphs
17//! and offers a unified and simplified interface for interacting with the transit network.
18//!
19//! By using the `graphs` module, one can easily create, modify, and interact with various representations of transit networks.
20mod physical;
21mod topology;
22mod transit_network;
23
24pub use physical::PhysicalGraph;
25pub use topology::*;
26pub use transit_network::TransitNetwork;