The Code-to-Diagram Generator is a Visual Studio Code extension that parses JavaScript, Python, and C++ code to generate real-time flowcharts using Abstract Syntax Tree (AST) parsing and Mermaid.js.
Features
Supports JavaScript (via Esprima), Python (via python-ast), and C++ (via cpp-parser).
Converts code into a structured flowchart for better visualization.
Automatically detects the language of the open file.
Displays the generated diagram in a separate VS Code WebView panel.