AI-Powered Interactive Diagram Platform - Break Mermaid limitations, create cinematic experiences
| Pain Point | Solution | Impact |
|---|---|---|
| ๐ซ Node width limits | Adaptive Node System | Perfect long label display |
| ๐ซ Messy edge routing | Smart Routing + ELK Layout | Professional aesthetics |
| ๐ซ Static presentations | Sequence Play + Node Approach | Cinematic experience |
| ๐ซ Manual creation | AI Generation | Instant diagram creation |
Edges 1โ2โ3...โN highlight in sequence
โ
Connected nodes automatically approach each other
โ
Camera intelligently tracks, no manual movement needed
"I need to show microservices architecture with API Gateway, User Service, Order Service and Database"
โ 3 seconds later โ
Complete Mermaid diagram + optimal layout + color scheme
Edit complete โ One-click share link โ Embed anywhere
Frontend Arsenal
โก Next.js 14 # Lightning fast rendering
๐จ Cytoscape.js # Graph engine supreme
๐ง ELK.js # German engineering layout art
๐ญ Framer Motion # Hollywood-grade animations
๐ฏ TypeScript # Type safetyBackend Firepower
๐ Fastify # High-performance API
๐๏ธ PostgreSQL # Reliable data storage
โก Redis # Lightning cache
๐ค OpenAI API # AI brain# 1. Clone the project
git clone https://github.com/your-username/Mermaid-Render.git
cd Mermaid-Render
# 2. Install dependencies
npm install
cd server && npm install && cd ..
# 3. Start backend (Terminal 1)
cd server && npm run dev
# 4. Start frontend (Terminal 2)
npm run dev
# 5. Open browser
# Frontend: http://localhost:3000
# Backend API: http://localhost:3001# Start only databases (recommended for development)
npm run docker:dev
# Then start frontend and backend separately (as Method 1)# Start everything in containers
npm run docker:full
# Stop everything
npm run docker:full:downSee magic happen in 30 seconds โจ
npm run dev # Start frontend development server
npm run server:dev # Start backend development server
npm run build # Build frontend for production
npm run start # Start production frontend servernpm run test # Run unit tests
npm run test:watch # Run tests in watch mode
npm run test:e2e # Run end-to-end tests
npm run lint # Run ESLint
npm run type-check # Run TypeScript checksnpm run docker:dev # Start dev databases only
npm run docker:dev:down # Stop dev databases
npm run docker:full # Start full application stack
npm run docker:full:down # Stop full application stackMermaid-Render/
โโโ ๐ src/ # Frontend source code
โ โโโ app/ # Next.js App Router
โ โโโ components/ # React components
โ โโโ lib/ # Utilities and core logic
โ โโโ hooks/ # Custom React hooks
โ โโโ types/ # TypeScript type definitions
โโโ ๐ server/ # Backend source code
โ โโโ src/ # Server source code
โ โโโ prisma/ # Database schema & migrations
โ โโโ tests/ # Backend tests
โโโ ๐ config/ # Configuration files
โ โโโ build/ # Build configs (Next.js, Tailwind, etc.)
โ โโโ docker/ # Docker configurations
โ โโโ testing/ # Test configurations
โ โโโ development/ # Dev tools config (ESLint, Prettier)
โโโ ๐ tests/ # Frontend tests
โ โโโ e2e/ # End-to-end tests
โโโ ๐ docs/ # Project documentation
โโโ ๐ .github/ # GitHub Actions CI/CD
GET /health # Health check
GET /api/hello # Hello World API
GET /api/graphs # Graph API endpoints- Sequence Player: 1โN edge highlighting in order
- Node Approach: Automatic node focus when highlighted
- Camera Flight: Smooth viewport transitions
- Region Browse: Smart focus switching
- Natural LanguageโDiagram: Describe needs, get Mermaid instantly
- Smart Layout Optimization: AI analyzes optimal arrangements
- Style Suggestions: Professional color schemes
- Unlimited Node Width: Say goodbye to text truncation
- Multi-Layout Engines: ELK/Dagre/Force-directed
- Beautiful Edge Routing: Avoid messy intersections
- 60FPS Animations: Silky smooth experience
- One-Click Share Links: Instant shareable URLs
- Embed Mode: Easy iframe integration
- Version Control: Edit history tracking
- Real-time Collaboration: Multi-user editing
| Scenario | Impact |
|---|---|
| ๐ Project Presentations | Sequence playback guides audience flow |
| ๐๏ธ System Architecture | AI generates complex diagrams, one-click beautify |
| ๐ Educational Demos | Interactive step-by-step learning |
| ๐ผ Client Proposals | Professional visuals increase persuasion |
- Mermaid Live Editor: Node truncation, layout limitations
- Draw.io: Manual drawing, no programmatic generation
- Graphviz: Command-line tool, steep learning curve
+ Mermaid-Render: AI-driven + Cinematic experience + Instant sharing๐ง Development Phase: MVP Sprint
โฑ๏ธ Expected Completion: 3-4 weeks
๐ฏ Goal: Redefine diagram presentation standards
All forms of contribution welcome!
- ๐ Bug reports
- ๐ก Feature suggestions
- ๐ง Code contributions
- ๐ Documentation improvements
MIT License - Free to use, commercial-friendly
โญ If this project helps you, please give it a star!
Let's redefine the future of diagram presentation together ๐