How acha-xwx/structify works
Data Structure Agent is a course-learning platform: a learner selects classroom or animation study, uses textbook-backed explanations and algorithm demonstrations, practices code, and can review progress. The production Vue client talks to the Spring API; the README identifies Node as a legacy compatibility service. The graph focuses on the documented product capabilities and sampled Spring/DSVP internals. Several unsampled subsystems are represented by their exact source directories; their links are documented or marked unverified rather than inferred from names.
Main entry points: ChatService.java AI chat · admin/routes.ts Admin console · user/routes.ts Study entry · animation Algorithm animation
Components 23
Learning clients
- Vue application
frontend/src/main.ts - Study entry
frontend/src/user/routes.ts
Learning experiences
- Script classroom
backend/spring/src/main/java/com/feng/dsagent/classroom - Algorithm animation
backend/spring/src/main/java/com/feng/dsagent/animation - Local DSVP engine
backend/spring/src/main/java/com/feng/dsagent/animation/DsvpLocalEngine.java - Textbook simulator
backend/dsvp/engine/textbook-animation-engine.js - AI chat
backend/spring/src/main/java/com/feng/dsagent/chat/ChatService.java - Code compiler
backend/spring/src/main/java/com/feng/dsagent/compiler - Learning progress
backend/spring/src/main/java/com/feng/dsagent/learning - Courseware browser
backend/spring/src/main/java/com/feng/dsagent/presentation
Learning services
- Textbook retrieval
backend/spring/src/main/java/com/feng/dsagent/knowledge/KnowledgeSearchService.java - Model API client
backend/spring/src/main/java/com/feng/dsagent/model - Authentication
backend/spring/src/main/java/com/feng/dsagent/auth/AuthService.java - AI quota ledger
backend/spring/src/main/java/com/feng/dsagent/aiquota/AiQuotaLedgerService.java - Legacy Node API
backend/node/server.js
Administration
- Admin console
frontend/src/admin/routes.ts - Review queue
backend/spring/src/main/java/com/feng/dsagent/review/ReviewService.java - Admin services
backend/spring/src/main/java/com/feng/dsagent/admin/AdminService.java - Model mail sandbox config
backend/spring/src/main/java/com/feng/dsagent/modelconfig
Other components
- Learner
- AI model service
- Piston sandbox
- Production database
Connections 24
- Learner → Vue application: uses
README.md - Vue application → Study entry: routes to
frontend/src/user/routes.ts - Study entry → Script classroom: starts classroom
README.md - Study entry → Algorithm animation: starts study
README.md - Learner → AI chat: asks
README.md - AI chat → Textbook retrieval: retrieves evidence
backend/spring/src/main/java/com/feng/dsagent/chat/ChatService.java - AI chat → Model API client: requests answer
backend/spring/src/main/java/com/feng/dsagent/chat/ChatService.java - Model API client → AI model service: calls
README.md - Learner → Algorithm animation: requests demo
README.md - Algorithm animation → Local DSVP engine: simulates
README.md - Local DSVP engine → Textbook simulator: dispatches
README.md - Learner → Code compiler: runs code
README.md - Code compiler → Piston sandbox: executes code
README.md - Learner → Courseware browser: browses
README.md - Learner → Learning progress: views progress
README.md - Learner → Authentication: signs in
README.md - AI chat → AI quota ledger: uses quota
README.md - Admin console → Review queue: manages reviews
README.md - Admin console → Admin services: manages users
README.md - Admin console → Model mail sandbox config: configures services
README.md - Learner → Legacy Node API: legacy routes
README.md - Authentication → Production database: persists accounts
README.md - Textbook retrieval → Production database: loads corpus
README.md - Learning progress → Production database: stores progress
README.md