ifc-systems 0.2.0

Distribution systems, ports, and connectivity between elements.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! `IfcRelConnectsPorts` and network traversal.
//!
//! The graph walk that answers 'what is downstream of this valve'. Cycles are
//! legal here (ring mains), so traversal must handle them by design.
//!

//! ## Internal split
//!
//! - `relation.rs`: port/element connections.
//! - `graph.rs`: semantic graph.
//! - `traversal.rs`: bounded traversal.

mod graph;
pub(crate) mod relation;
mod traversal;

pub use relation::{Connection, ConnectionGraph, NetworkGraph};
pub use traversal::{Direction, FlowNetwork, FlowQuery};