How dilli-k/geographic-path-finder works
File structure
• Top‐level files and dirs:
• index.html + public/ → static assets (map style, manifest, tutorial videos)
• src/ → application code
– components/ → React UI components (App, Map, Interface, Slider, GraphDebug)
– services/ → MapService for loading or generating graph/map data
– models/ → domain models (Node, Edge, Graph, PathfindingState) and algorithm implementations
– hooks/ → a custom hook (useSmoothStateChange) for animating state transitions
– api.js & config.js & helpers.js → utilities for fetching data and configuration
– main.jsx & index.scss → app entrypoint and global styling
• Configuration: vite.config.js, package.json, ESLint, editorconfig
README
• Confirms available algorithms and standard npm install + vite dev flow
• No backend or database—pure front-end visualization tool
Elements
• From Browser UI → Service → Domain → Algorithm → Hook → UI render
• Green for Services
• Orange for Domain models
• Red for Algorithms
• Gray for Utilities