A web-based application that generates flowcharts automatically from text prompts, instructions, or uploaded files. The tool converts natural language descriptions into structured flowcharts with a clean and intuitive user interface. It supports customization, real-time editing, and export options for PDF, PNG,JSON and SVG formats.
- Converts natural language instructions into flowcharts.
- Supports input through text, lines, or structured descriptions.
- Real-time preview of generated flowcharts.
- Includes a modern and clean user interface.
- Allows editing, rearranging, and customizing nodes and edges.
- Export options for PDF, PNG, and SVG.
- Backend powered by Python and AI-based layout generation.
- Frontend built for fast rendering and smooth interactions.
- Upload-to-flowchart support for images or structured files.
- HTML
- CSS
- JavaScript (React optional if used in your version)
- Python
- Flask
- Custom AI layout engine
- Text parsing and flow generation modules
- Image processing utilities
- Export service (PDF/PNG/SVG)
- Node layout and coordinate algorithms
AI-Flowchart-Builder/
│
├── backend/
│ ├── main.py
│ ├── requirements.txt
│ ├── services/
│ │ ├── ai_generator.py
│ │ ├── export_service.py
│ │ ├── image_processor.py
│ │ ├── layout_engine.py
│ │ └── text_parser.py
│ └── .env.example
│
├── frontend/
│ ├── index.html
│ ├── package.json
│ ├── package-lock.json
│ ├── postcss.config.js
│ └── src/
│ ├── App.jsx
│ ├── components/
│ │ ├── CustomNode.jsx
│ │ ├── ExampleChips.jsx
│ │ ├── ExportPanel.jsx
│ │ ├── FlowchartCanvas.jsx
│ │ └── InputPanel.jsx
│
├── start-frontend.sh
├── start-backend.sh
├── start-frontend.bat
└── README.md
git clone https://github.com/Pranjulchaurasiya/AI-flowchart-maker.git
cd AI-flowchart-maker
cd backend
pip install -r requirements.txt
python main.py
The backend will start on the configured host and port.
cd ../frontend
npm install
npm start
The frontend will run on the local development server.
- User enters a prompt, lines, or structured instructions.
- The backend processes the text using the text parser.
- AI-based flowchart generator creates nodes and edges.
- The layout engine arranges elements cleanly.
- The frontend displays the flowchart on a canvas.
- Users can edit, move, or customize flowchart nodes.
- The export service converts the final flowchart into PDF, SVG, or PNG.
- Reduces manual flowchart creation time significantly.
- Offers clean and tidy layouts with automated spacing.
- Suitable for students, developers, educators, and professionals.
- Works with natural language, making it accessible to non-technical users.
- Lightweight and fast due to optimized layout algorithms.
- Support for complex workflows and branching logic.
- Live collaboration mode for teams.
- Cloud storage integration.
- Authentication system for user accounts.
- Version history and auto-save.
- Integration with documentation tools.
This project is licensed under the MIT License. You are free to use, modify, and distribute the code with proper attribution.