Skip to content

kimifiedler/code2uml

Repository files navigation

Code2Uml

code2uml.vercel.app is a browser-based playground that converts C#, Java, and Python source files into Mermaid class diagrams and renders them as SVG.

Features

  • Drag & drop uploader for files plus an inline editor to paste or prototype code.
  • Language selector (C#, Java, Python) that enforces per-language extensions.
  • Manual “Generate UML” button so you can curate a batch of files/snippets before rendering.
  • Dual-preview surface: SVG diagram and the corresponding Mermaid source with copy/export actions.

How to use

  1. Open code2uml.vercel.app.
  2. Pick the programming language (C#, Java, or Python).
  3. Either:
    • Drop one or more .cs, .java, or .py files into the upload area (matching the selected language), or
    • Switch to the “Inline editor” tab, paste/write code, and click “Add snippet as file”.
  4. Review the file queue; remove or rename anything you don’t need.
  5. Click Generate UML to parse the current queue.
  6. Use the Preview tab to inspect the SVG (and download it), or switch to Mermaid to copy the generated DSL.

About

UML Generator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published