How reddysridharkb/nfa-dfa-converting works
This is a browser-based NFA-to-DFA converter. A user supplies an NFA, the app parses its transitions, accounts for epsilon transitions, and constructs a DFA; it then presents graphs, transition tables, and step-by-step DFA traversal. The excerpts show the conversion and rendering calls, but not the HTML structure or unsampled implementation details.
Main entry points: script.js Page interactions · index.html Converter page
Components 12
Browser interface
- Converter page
index.html - Page styles
style.css - Page interactions
script.js
Automata conversion
- Transition parser
script.js - Epsilon closure
script.js - Subset construction
script.js
Results and navigation
- NFA graph
script.js - Complete DFA graph
script.js - Stepwise DFA graph
script.js - Transition tables
script.js - Step navigation
script.js
Other components
- User
Connections 10
- User → Converter page: uses
- Converter page → Page interactions: loads
- Page interactions → Transition parser: parses input
script.js - Page interactions → Epsilon closure: computes closures
script.js - Page interactions → Subset construction: builds DFA
script.js - Subset construction → NFA graph: renders NFA
script.js - Subset construction → Complete DFA graph: renders DFA
script.js - Subset construction → Stepwise DFA graph: prepares steps
script.js - Subset construction → Transition tables: displays tables
script.js - Page interactions → Step navigation: registers controls
script.js