How milo80/entitynetworkswos works
Entity Networks converts uploaded Web of Science exports into browsable research networks. The main workflow is upload and profile a dataset, configure a network, run the pipeline, then explore links and underlying records; authentication and the optional assistant support that journey. The graph also retains the documented data-catalog and network-building capabilities. Edges use the supplied excerpts, source-index references, or README statements; unsampled implementation details are not asserted.
Main entry points: client.ts Typed API client · App.tsx Application routes · main.py FastAPI routers · worker.py Run worker
Components 30
Web application
- Application routes
frontend/src/App.tsx - Typed API client
frontend/src/api/client.ts - Login and sessions UI
frontend/src/auth/session.tsx - Dataset pages
frontend/src/pages/DatasetsPage.tsx - Dataset data catalog
frontend/src/pages/DatasetDataPage.tsx - Network build form
frontend/src/pages/BuildNetworkForm.tsx - Network explorer
frontend/src/pages/ExplorerPages.tsx - Record browser
frontend/src/pages/RecordsPage.tsx - Assistant panel
frontend/src/components/assistant/AssistantPanel.tsx
API and services
- FastAPI routers
backend/app/main.py - Authentication API
backend/app/api/auth.py - Dataset API
backend/app/api/datasets.py - Network runs API
backend/app/api/runs.py - Session and CSRF
backend/app/auth/sessions.py - Record services
backend/app/services/records.py - Upload storage
backend/app/services/storage.py - Run worker
backend/app/worker.py - Application data store
backend/app/models/__init__.py
Network pipeline
- Dataset profiling
backend/pipeline/profile.py - Custom network builder
backend/pipeline/custom.py - Author resolution
backend/pipeline/authors.py - Institution networks
backend/pipeline/institutions.py - Keyword processing
backend/pipeline/keywords.py - Network generation
backend/pipeline/networks.py
Assistant
- Assistant API
backend/app/api/assistant.py - Assistant tools
backend/app/services/assistant/tools.py - Network guidance
backend/app/services/assistant/guide.py
Other components
- Researcher
- WoS upload files
- Claude API
Connections 38
- Researcher → Application routes: uses
README.md - Application routes → Login and sessions UI: guards routes
frontend/src/App.tsx - Application routes → Dataset pages: routes to
frontend/src/App.tsx - Application routes → Dataset data catalog: routes to
frontend/src/App.tsx - Application routes → Record browser: routes to
frontend/src/App.tsx - Application routes → Network explorer: routes to
frontend/src/App.tsx - Researcher → WoS upload files: exports and uploads
README.md - WoS upload files → Dataset pages: creates dataset
README.md - Dataset pages → Typed API client: requests data
- Dataset data catalog → Typed API client: requests profile
- Network build form → Typed API client: submits settings
frontend/src/pages/BuildNetworkForm.tsx - Network explorer → Typed API client: loads run
- Record browser → Typed API client: requests records
frontend/src/pages/RecordsPage.tsx - Typed API client → FastAPI routers: calls endpoints
frontend/src/api/client.ts - FastAPI routers → Authentication API: registers router
backend/app/main.py - FastAPI routers → Dataset API: registers router
backend/app/main.py - FastAPI routers → Network runs API: registers router
backend/app/main.py - Authentication API → Session and CSRF: uses sessions
backend/app/api/auth.py - Dataset API → Upload storage: uses storage
backend/app/api/datasets.py - Dataset API → Record services: uses record service
backend/app/api/datasets.py - Dataset API → Application data store: reads and writes
backend/app/api/datasets.py - Network runs API → Application data store: reads and writes
backend/app/api/runs.py - Run worker → Application data store: updates run state
backend/app/worker.py - Run worker → Upload storage: uses file storage
backend/app/worker.py - Run worker → Dataset profiling: profiles dataset
backend/app/worker.py - Run worker → Custom network builder: builds network
backend/app/worker.py - Custom network builder → Author resolution: uses author data
backend/pipeline/custom.py - Custom network builder → Institution networks: uses institution data
backend/pipeline/custom.py - Custom network builder → Keyword processing: uses keyword data
backend/pipeline/custom.py - Researcher → Assistant panel: asks questions
README.md - Assistant panel → Typed API client: sends chat
- FastAPI routers → Assistant API: registers router
backend/app/main.py - Assistant API → Assistant tools: uses tools
backend/app/api/assistant.py - Assistant tools → Network guidance: uses guidance
backend/app/services/assistant/tools.py - Assistant API → Claude API: sends assistant request
- Researcher → Network build form: configures network
README.md - Researcher → Network explorer: explores results
README.md - Researcher → Record browser: inspects records
README.md