nms_graph/lib.rs
1//! In-memory galactic model for NMS Copilot.
2//!
3//! The heart of the system — builds and maintains a spatial graph of all known
4//! star systems using three parallel data structures:
5//!
6//! - **petgraph** — topology layer for pathfinding and TSP routing
7//! - **R-tree** — geometric layer for nearest-neighbor and radius queries
8//! - **HashMaps** — associative layer for fast lookup by name, biome, etc.
9//!
10//! Supports incremental updates from the file watcher.