A CLI tool that generates PlantUML Entity Relationship Diagrams from Prisma schema files.
prisma-uml is a command-line tool that automatically generates PlantUML Entity Relationship Diagrams from Prisma schema files. It solves the problem of manually creating visual representations of database models by converting Prisma schema definitions into clear, standardized diagrams. This helps developers visualize relationships between database entities for better understanding and documentation.
Developers and teams using Prisma ORM who need to visualize, document, or communicate their database schema structure. Particularly useful for database architects, backend developers, and technical leads working with Prisma-based applications.
Developers choose prisma-uml because it provides a simple, automated way to generate professional ER diagrams directly from their Prisma schema, eliminating manual diagram creation. Its flexibility in output formats and server options makes it adaptable to different workflow requirements while maintaining ease of use.
A CLI to transform a Prisma schema to a PlantUML Entity RelationShip Diagram
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Automatically converts Prisma schema files to PlantUML ERDs, eliminating manual diagram creation, as shown in the simple CLI command 'prisma-uml <path>'.
Supports generating diagrams as text, SVG, PNG, or JPG files, providing flexibility for different documentation needs, detailed in the output options.
Allows using the official PlantUML server or a local Docker server for rendering, enabling offline or private use, as explained in the Image Rendering section.
Easy-to-use command-line tool with clear arguments and options, demonstrated with practical examples in the Commands section.
The README's 'incoming changes' list highlights missing features like splitting attributes by entity and fixing cardinality issues, indicating current limitations.
Relies on the public PlantUML server by default for image rendering, which requires internet access and may raise security concerns for sensitive schemas.
Only works with Prisma schema files, making it unsuitable for projects using other database modeling tools or ORMs, limiting its utility.