ts2uml 🎨Hey! 👋 This is ts2uml - a tool that turns your TypeScript code into pretty UML diagrams. ⚠️ Please keep in mind that this is a passion project and is still in early development. Expect bugs and unintended behaviors. 🤔 Why did I build this?I was working on this codebase at my job. It was not overly complex but it had a lot of types. I like having things typed but there comes a point where you have diminishing returns. This project was way past that point. I looked around for tools to help me turn the code into a UML diagram so that I maybe could understand something, but everything I found was either too clunky or missing features I really wanted, like being able to filter out the types by folder or by type (interface, class, enum, etc.). So I decided to build my own and that's how ts2uml was born! 📖 Overviewts2uml is primarily a vscode extension that allows you to generate UML diagrams from your TypeScript code.
⚠️ Some notes on the scope and vision for the project:
🚀 Getting StartedTo generate a UML diagram:
✨ Features🎯 Generate UML DiagramsJust right-click a folder in VS Code, hit "Generate UML diagram" and boom! You get this interactive diagram built with React Flow. You can drag stuff around and make it look exactly how you want. Thanks to React Flow you can:
🔍 Filter Out the NoiseGot too many types cluttering your view? No worries! You can:
🎨 Configure the graphThanks to elk.js and React Flow you can configure how the graph looks!
🌐 Share with anyoneThis is very useful for onboarding new people or when you want to share the diagram with someone who doesn't have VS Code or the extension installed.
💾 Save Your WorkDon't lose your masterpiece:
👀 What's Coming Next?I've got some cool ideas in the works:
🤝 Want to Help?I am working on the best way for you to share your ideas with me. For now if you got any suggestions or bugs, you can: 📝 License |