Commit 10d4a3a
feat: Add Vis.js interactive graph visualizations to use case examples
Enhanced landing page use cases with interactive Vis.js network visualizations:
**Job Search Example:**
- User → Skills → Jobs → Companies
- Query: Find remote jobs matching user skills
- Animated query path highlighting
**E-Commerce Example:**
- Users → Products → Recommendations
- Query: Recommend products based on purchases
- Collaborative filtering visualization
**Social Network Example:**
- User → Friends → Friend-of-Friends
- Query: Friend-of-friend suggestions
- Network graph with relationship paths
**CRM Example:**
- Deals → Companies → Contacts
- Query: Find C-level decision makers for deals
- Company hierarchy visualization
**Features:**
- Interactive "Run Query" buttons animate query execution
- Auto-play on scroll into view (first time only)
- Real-time graph highlighting shows query traversal
- Code snippets with syntax highlighting
- Responsive design (300px → 250px → 200px on mobile)
- Matches landing page design system (orange primary color)
- 4 complete examples with nodes, edges, and query paths
**Technical Implementation:**
- Vis.js v9.1.6 CDN integration
- Custom graph configurations per use case
- Smooth animations with focus transitions
- Physics simulation disabled after initial layout
- IntersectionObserver for auto-play
- Mobile-optimized graph heights and code font sizes
🤖 Generated with Claude Code https://claude.com/claude-code
Co-Authored-By: Claude <[email protected]>1 parent 48cc38c commit 10d4a3a
3 files changed
+423
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
475 | 475 | | |
476 | 476 | | |
477 | 477 | | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
478 | 530 | | |
479 | 531 | | |
480 | 532 | | |
| |||
789 | 841 | | |
790 | 842 | | |
791 | 843 | | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
792 | 856 | | |
793 | 857 | | |
794 | 858 | | |
| |||
807 | 871 | | |
808 | 872 | | |
809 | 873 | | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
810 | 891 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
193 | 195 | | |
194 | 196 | | |
195 | 197 | | |
196 | | - | |
| 198 | + | |
197 | 199 | | |
198 | 200 | | |
199 | 201 | | |
200 | | - | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
201 | 213 | | |
202 | | - | |
| 214 | + | |
203 | 215 | | |
204 | 216 | | |
205 | 217 | | |
206 | | - | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
207 | 229 | | |
208 | | - | |
| 230 | + | |
209 | 231 | | |
210 | 232 | | |
211 | 233 | | |
212 | | - | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
213 | 245 | | |
214 | | - | |
| 246 | + | |
215 | 247 | | |
216 | 248 | | |
217 | 249 | | |
218 | | - | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
219 | 261 | | |
220 | 262 | | |
221 | 263 | | |
| |||
564 | 606 | | |
565 | 607 | | |
566 | 608 | | |
| 609 | + | |
567 | 610 | | |
568 | 611 | | |
0 commit comments