How anishlearnstocode/state-diagram-generator works
Project type and purpose
• This is a single-page front-end web application built with Angular and TypeScript.
File structure
• Top-level Angular config files: angular.json, tsconfig*.json, tslint.json, package.json, karma.conf.js, protractor.conf.js.
• No “backend” directory—this is purely client-side.
• src/app contains:
• app.module.ts, app-routing.module.ts – root module and router setup
• Components: DashboardComponent (main UI), DynamicMessageComponent (alerts/messages), AppComponent (shell)
• src/assets, src/environments – static assets and environment configs (dev/prod)
• e2e & spec files – end-to-end and unit tests
• firebase.json & .firebaserc – configuration for Firebase Hosting
README for additional insights
• Confirms it’s a Theory of Computation learning tool.
• Mentions demo via GitHub Pages / Firebase.
• No separate API server—entire automaton construction runs in the client.
Detail
• Every logical layer: Presentation, Domain, Build, Deployment.
• Don’t over-complicate—represent all components you identified in the file tree.