Skip to content

RegEx Visualizer is a powerful tool that allows you to visualize the process of converting regular expressions into Non-deterministic Finite Automata (NFA), Deterministic Finite Automata (DFA), and minimized DFA.

Notifications You must be signed in to change notification settings

ZiadSheriif/AutoMajestic

Repository files navigation

AutoMajestic

GitHub contributors GitHub issues GitHub license GitHub forks GitHub stars GitHub Language

📝 Table of Contents

📙 About

AutoMajestic is an innovative application designed to empower users with the ability to visualize and comprehend complex automata structures such as NFA (Nondeterministic Finite Automata) , DFA (Deterministic Finite Automata) and finally Minimized DFA With its intuitive interface and robust features

🌠 Features

  1. Ability to create and visualize automata, NFA, DFA, MIN-DFA.
  2. Interactive and user-friendly interface.
  3. Detailed explanations and step-by-step walkthroughs.

📂 Folder Structure

├───dfafrontend
│   ├───public
│   └───src
│       ├───components
│       └───pages
└───src
    ├───dfa
    ├─── min_dfa
    │   ├───min_dfa
    │   ├───nfa
    │   ├───regex_processor
    │   ├───regex_validator
    │   └───state
    └───utils
         └───helpers

📸 Demo Screens

Setup

Download and Install Graphviz

  1. Download the Graphviz library from this link.
  2. Unzip the downloaded file.
  3. Follow the installation instructions provided with the library.

Install Python Requirements

  1. Make sure you have Python installed on your machine. You can download Python from here.
  2. Install the required Python packages by running the following command in your terminal:
pip install -r requirements.txt

Install Node.js and npm

  1. Make sure you have Node.js and npm installed on your machine. You can download Node.js and npm from here.
  2. Navigate to the dfafrontend directory and install the required Node.js packages by running the following command in your terminal:
cd dfafrontend
npm install

Running the Application

Start the Flask Server

  1. Navigate to the project root directory.
  2. Run the following command in your terminal to start the Flask server:
$ python app.py

Start the React Application

  1. Navigate to the dfafrontend directory.
  2. Run the following command in your terminal to start the React application:
$ npm start

The React application will now be running at http://localhost:3000, and the Flask server will be running at http://localhost:5000.

🕴 Contributors

Ziad Sherif
Ziad Sherif
Mohammed Rome
Mohamed Rome

📃 License

This software is licensed under MIT License, See License for more information @AutoMajestic.

About

RegEx Visualizer is a powerful tool that allows you to visualize the process of converting regular expressions into Non-deterministic Finite Automata (NFA), Deterministic Finite Automata (DFA), and minimized DFA.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •