Automate Visualization is a tool that facilitates the visualization of automata transformations. It converts regular expressions into nondeterministic finite automata (NFA) and then minimizes them to deterministic finite automata (DFA). This tool is useful for understanding the behavior of regular expressions and their corresponding automata.
- Convert regular expressions to NFA
- Minimize NFA to DFA
- Visualize automata using Graphviz
- Java Development Kit (JDK) 8 or higher
- Maven
- Graphviz
-
Clone the repository:
git clone https://github.com/abdokin/automate-visualization.git
-
Navigate to the project directory:
cd automate-visualization
-
Compile the project:
mvn compile
-
Generate the JAR file:
mvn package
-
Run The project:
java -jar target/automate-1.0.jar "ab|c*"
-
View the generated visualization by opening the
afn.png
anddfa.png
file. Use any image viewer on your system to open and inspect the automaton visualization.
Below is an example of the generated visualization for the provided regex ab|c*
:
This project is licensed under the MIT License - see the LICENSE file for details.