Skip to content

DarkPimbaa/drawplus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

DrawPlus - Visual C++ Code Generator

A node-based visual programming tool that generates C++ source code. Create nodes representing C++ constructs (classes, functions, variables, loops, conditionals), connect them with typed links, and generate valid C++ code from the visual graph.

Features

  • Visual node editor for designing C++ code structure
  • Multiple node types: classes, functions, variables, loops, conditionals
  • Typed pin connections (execution flow, data flow, booleans, integers, floats, strings)
  • Real-time C++ code generation from graph traversal
  • JSON save/load for graph persistence
  • Configurable include headers
  • Built with ImGui Node Editor for a responsive editing experience

How It Works

  1. Create nodes representing C++ constructs from the context menu
  2. Connect output pins to input pins to define data and execution flow
  3. The tool traverses the graph and generates valid C++ source code
  4. Save/load your visual graphs as JSON files

Tech Stack

C++20, GLFW, OpenGL, ImGui, ImGui-Node-Editor, nlohmann/json, CMake (FetchContent)

Building

mkdir build && cd build
cmake ..
make

All dependencies are fetched automatically via CMake FetchContent.

License

MIT

About

Visual node-based C++ code generator using ImGui Node Editor

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors