Experiment · Bachelor's Thesis

Text2UML

A VS Code extension that turns natural language into UML diagrams. Built as my Bachelor's thesis at RWTH Aachen University.

What it does

Text2UML automatically generates graphical UML representations from textual diagram descriptions. You write a diagram in a structured textual format, and the extension renders it live inside VS Code. No dragging boxes around, no switching tools.

Sequence Diagram

Activity Diagram

Architecture

Combines a Java-based Language Server Protocol backend (powered by MontiCore) with a React + D3.js visualization frontend. The LSP backend parses textual diagram descriptions and sends structured data to the frontend, which renders interactive UML diagrams in real time.

Frontend-backend communication architecture
Visualization workflow

Tech Stack

JavaTypeScriptReactD3.jsMontiCoreVS Code Extension APILanguage Server Protocol