How morenolopez/fly-in works
Fly-in parses a map into a drone network, plans capacity-aware timed routes, converts them into turn-by-turn actions, and presents them as CLI text or an optional animated GUI. The graph separates parsing, domain data, routing, and presentation. The routing and simulation relationships are supported by excerpts; README statements support the overall workflow and GUI capabilities. Unsampled implementation details are not expanded beyond documented behavior.
Main entry points: parser.py Map parser · main.py CLI entry point · network.py Network model · algorithms.py Routing manager
Components 15
Map and model
- Map parser
src/parser.py - Network model
src/models/network.py - Zone model
src/models/zone.py - Connection model
src/models/connection.py - Drone model
src/models/drone.py
Cooperative routing
- Routing manager
src/algorithms.py - Timed pathfinder
src/algorithms.py - Reservation table
src/algorithms.py
Simulation and views
- CLI entry point
src/main.py - Simulation engine
src/simulate.py - Turn text output
src/main.py - Graphical visualizer
src/visualizer.py
Other components
- Map operator
- Map file
- Simulation viewer
Connections 21
- Map operator → Map file: provides map
README.md - CLI entry point → Map parser: parses map
src/main.py - Map file → Map parser: reads
README.md - Map parser → Network model: builds
src/parser.py - Map parser → Zone model: creates
src/parser.py - Map parser → Connection model: creates
src/parser.py - Map parser → Drone model: creates
src/parser.py - CLI entry point → Routing manager: routes drones
src/main.py - Routing manager → Timed pathfinder: finds paths
src/algorithms.py - Routing manager → Reservation table: reserves paths
src/algorithms.py - Timed pathfinder → Reservation table: checks capacity
README.md - Timed pathfinder → Network model: searches network
src/algorithms.py - CLI entry point → Simulation engine: formats routes
src/main.py - Simulation engine → Reservation table: reads occupancy
src/simulate.py - CLI entry point → Turn text output: prints turns
src/main.py - CLI entry point → Graphical visualizer: launches optionally
src/main.py - Graphical visualizer → Simulation viewer: animates simulation
README.md - Simulation engine → Graphical visualizer: provides turn lines
src/main.py - Network model → Zone model: stores zones
src/models/network.py - Network model → Connection model: stores connections
src/models/network.py - Network model → Drone model: stores drones
src/models/network.py