Skip to content

About

Generate professional flowcharts from plain text using JavaFX and local AI models powered by Ollama.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

AI FlowNotes Generator

Transform your notes, algorithms, and process descriptions into beautiful visual flowcharts using JavaFX and Local AI Models (Ollama + Llama 3).

Java JavaFX Ollama License


Overview

AI FlowNotes Generator is a desktop application that converts plain text notes into structured flowcharts using AI.

Simply paste:

  • Study notes
  • Algorithms
  • Process descriptions
  • Workflow explanations
  • Technical concepts

and the application automatically generates a clean visual flowchart.

The application runs completely locally using Ollama, ensuring privacy and fast AI responses without relying on external APIs.


Features

AI-Powered Flowchart Generation

Uses local Large Language Models through Ollama to transform text into step-by-step workflows.

Visual Flowchart Rendering

Automatically creates:

  • Process Nodes
  • Start / End Nodes
  • Arrow Connectors
  • Structured Vertical Flowcharts

Modern JavaFX UI

  • Responsive desktop interface
  • Split-screen layout
  • Scrollable flowchart view
  • Professional styling

🔒Fully Local AI

No OpenAI API key required.

Runs entirely on:

  • Ollama
  • Llama 3
  • Gemma

and other supported local models.

Project Architecture

User Input
     │
     ▼
Main.java
(JavaFX UI)
     │
     ▼
OllamaService.java
(HTTP API Calls)
     │
     ▼
Ollama + Llama3
     │
     ▼
AI Flowchart Text
     │
     ▼
FlowChartGenerator.java
(Rendering Engine)
     │
     ▼
Visual Flowchart

📂 Project Structure

src/
└── main/
    └── java/
        └── com/
            └── flownotes/
                ├── Main.java
                ├── FlowChartGenerator.java
                └── OllamaService.java

Main.java

Responsible for:

  • Building the JavaFX UI
  • Handling user interactions
  • Running AI generation in background threads
  • Updating the flowchart display

OllamaService.java

Responsible for:

  • Detecting installed Ollama models
  • Creating AI prompts
  • Sending HTTP requests
  • Receiving AI-generated flowchart steps

FlowChartGenerator.java

Responsible for:

  • Parsing AI output
  • Creating flowchart nodes
  • Drawing arrows
  • Rendering the final visual diagram

UI Preview

┌───────────────────────────────────────────────┐
│          AI Flow Notes Generator              │
├─────────────────┬─────────────────────────────┤
│                 │                             │
│  Input Notes    │    Generated Flowchart      │
│                 │                             │
│                 │        START                │
│                 │          ↓                  │
│                 │    Process Step 1           │
│                 │          ↓                  │
│                 │    Process Step 2           │
│                 │          ↓                  │
│                 │          END                │
│                 │                             │
└─────────────────┴─────────────────────────────┘

Requirements

Software

  • Java 17+
  • Maven
  • JavaFX
  • Ollama

Install Ollama

Download Ollama:

https://ollama.com

Verify installation:

ollama --version

Pull a Model

Before running the application:

ollama pull llama3

Start Ollama:

ollama serve

Running the Application

Clone Repository

git clone https://github.com/Varshabachu050/AI-FlowNotes-Generator.git
cd AI-FlowNotes-Generator

Build Project

mvn clean install

Run Application

mvn javafx:run

Example Input

Photosynthesis is the process by which plants absorb sunlight,
take in water and carbon dioxide,
produce glucose,
and release oxygen.

AI Output

START
↓
Absorb Sunlight
↓
Take in Water
↓
Take in Carbon Dioxide
↓
Produce Glucose
↓
Release Oxygen
↓
END

Visual Result

START
  ↓
Absorb Sunlight
  ↓
Take in Water
  ↓
Take in Carbon Dioxide
  ↓
Produce Glucose
  ↓
Release Oxygen
  ↓
END

Future Improvements

  • Export Flowcharts as PNG
  • Export Flowcharts as PDF
  • Horizontal Flowchart Layouts
  • Dark Mode
  • Editable Nodes
  • Drag-and-Drop Layout
  • Multiple AI Provider Support
  • Mermaid Diagram Export
  • BPMN Diagram Generation

Output :

Output Screen

Author

Bachu Varsha

About

Generate professional flowcharts from plain text using JavaFX and local AI models powered by Ollama.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages