This folder contains sample Entity Framework DbContext projects to test and demonstrate the efvis VS Code extension.
| Project | Entities | Complexity | Theme |
|---|---|---|---|
| 01-HauntedHouse | 5 | Simple | Paranormal property tracking |
| 02-CursedMuseum | 15 | Medium | Dark occult artifact management |
| 03-ZombieApocalypse | 30 | Complex | Post-apocalyptic survival system |
| 04-CultManagement | 50 | Very Complex | Cult operations and control |
| 05-HellCorporation | 100 | Extreme | Hell as corporate ERP system |
These samples demonstrate:
- Small diagrams (5 entities) - Simple relationships
- Medium diagrams (15 entities) - Multiple relationship types
- Large diagrams (30 entities) - Complex interconnected systems
- Very large diagrams (50 entities) - Enterprise-level modeling
- Extreme diagrams (100 entities) - Stress testing visualization
cd 01-HauntedHouse
dotnet build- Open the sample project folder in VS Code
- Press
Ctrl+Shift+P(orCmd+Shift+Pon Mac) - Run command:
efvis: Show EF Diagram - Select a DbContext to visualize
- Choose between ReactFlow or mxGraph engines
Each sample contains:
XX-ProjectName/
├── ProjectName.csproj # .NET project file
├── Models/ # Entity classes
│ ├── Entity1.cs
│ ├── Entity2.cs
│ └── ...
├── Data/
│ └── XxxDbContext.cs # EF DbContext
└── README.md # Project documentation
- .NET SDK 8.0 or higher
- VS Code with efvis extension installed
- Entity Framework Core 8.0
All samples use dark/horror themes to make testing more interesting:
- 👻 Haunted House Registry - Ghost tracking
- 🔮 Cursed Museum - Dangerous artifacts
- 🧟 Zombie Apocalypse - Survival horror
- 🕯️ Cult Management - Dark organization control
- 😈 Hell Corporation - Infernal business operations
- Samples are for testing and demonstration only
- All code is in English
- Each project is self-contained and buildable
- Complex relationships demonstrate advanced EF features
- Stress test the visualizer with large entity counts
Use these samples to test:
- ✅ Small vs large diagram rendering
- ✅ One-to-many relationships
- ✅ Many-to-many relationships
- ✅ Self-referencing entities
- ✅ Complex navigation properties
- ✅ Layout algorithm performance
- ✅ ReactFlow vs mxGraph comparison
- ✅ Drag & drop position persistence
Enjoy visualizing Entity Framework models! 🎉