A JetBrains IntelliJ IDEA / WebStorm / PHPStorm plugin for graphical visualization of Prisma Schema files.
- Automatic Detection: Automatically detects all
.prismafiles in your project - Graphical Visualization: Displays models, fields, and relationships in an interactive graph
- Live Updates: Updates automatically when schema files change
- Interactive Navigation:
- Zoom with mouse wheel
- Pan with right-click + drag
- Model selection by clicking
- Model movement by dragging
- Multiple Schema Files: Supports multiple schema files and combines them into a single graph
- Relationship Visualization: Shows One-to-One, One-to-Many, and Many-to-Many relationships
- Custom Tool Window: Dedicated tool window for graph visualization
- JetBrains IDE: IntelliJ IDEA, WebStorm, or PHPStorm 2025.1.3 or higher
- Java: JDK 17 or higher
- Build System: Gradle 7.0+ (or use included Gradle Wrapper)
# Clone the repository
git clone https://github.com/AlexanderKoch-UX/prisma-graph.git
cd prisma-graph
# Build the plugin
./gradlew build
# Install the plugin
./gradlew buildPlugin- Open your JetBrains IDE
- Go to File → Settings → Plugins
- Click Install Plugin from Disk
- Select the built plugin ZIP file from
build/distributions/
# Clean build
./gradlew clean build
# Run tests
./gradlew test
# Run IDE with plugin for testing
./gradlew runIde
# Build plugin distribution
./gradlew buildPlugin- Language: Kotlin 2.0.21
- Target JVM: Java 17
- IDE Platform: IntelliJ Platform 2025.1.3
- Build System: Gradle with IntelliJ Platform Plugin
- Open a project containing
.prismafiles - Open the Prisma Graph tool window (View → Tool Windows → Prisma Graph)
- The graph will automatically display your schema structure
- Use mouse interactions to navigate and explore your data model
- ✅ Compatibility with IntelliJ IDEA 2025.1.3 and higher (Build 251.*)
- ✅ Initial release of Prisma Graph Visualizer
- ✅ Basic schema parsing functionality
- ✅ Graphical display of models and relationships
- ✅ Interactive graph navigation
- ✅ Live schema updates
Run the test suite with:
./gradlew testMIT License