From 72a9956bc7a5d897568902329e3a350ab0545252 Mon Sep 17 00:00:00 2001 From: Ryan Sweet Date: Mon, 4 Aug 2025 18:02:01 -0700 Subject: [PATCH] feat: convert architecture diagram to interactive Mermaid format MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Replace ASCII art diagram with Mermaid diagram - Show clear relationships between components with arrows - Add color coding for different component types - Maintain all architecture information in a more visual format - Enable interactive rendering on GitHub and other markdown viewers πŸ€– Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- README.md | 85 ++++++++++++++++++++++++++++++------------------------- 1 file changed, 47 insertions(+), 38 deletions(-) diff --git a/README.md b/README.md index b8629fbe..9c1f4330 100644 --- a/README.md +++ b/README.md @@ -19,44 +19,53 @@ Cue is a sophisticated code analysis tool that creates comprehensive graph repre Cue creates a sophisticated multilayer graph representation of your codebase: -``` -β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” -β”‚ Cue Architecture β”‚ -β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ -β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ -β”‚ β”‚ VS Code β”‚ β”‚ MCP Server β”‚ β”‚ Neo4j Graph β”‚ β”‚ -β”‚ β”‚ Extension β”‚ β”‚ (AI Agents) β”‚ β”‚ Database β”‚ β”‚ -β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ -β”‚ β”‚ β€’ 3D Visualizer β”‚ β”‚ β€’ Context Tools β”‚ β”‚ β€’ Node Storage β”‚ β”‚ -β”‚ β”‚ β€’ Search/Filter β”‚ β”‚ β€’ Query Builder β”‚ β”‚ β€’ Relationships β”‚ β”‚ -β”‚ β”‚ β€’ Interactive β”‚ β”‚ β€’ Plan Builder β”‚ β”‚ β€’ Graph Queries β”‚ β”‚ -β”‚ β”‚ Exploration β”‚ β”‚ β€’ LLM Processor β”‚ β”‚ β€’ Cypher API β”‚ β”‚ -β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ -β”‚ β”‚ β”‚ β”‚ β”‚ -β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ -β”‚ β”‚ β”‚ -β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ -β”‚ β”‚ Cue Core Engine β”‚ β”‚ -β”‚ β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ β”‚ -β”‚ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ β”‚ -β”‚ β”‚ β”‚ Filesystem β”‚ β”‚ Code β”‚ β”‚ Documentationβ”‚ β”‚ β”‚ -β”‚ β”‚ β”‚ Layer β”‚ β”‚ Hierarchy β”‚ β”‚ Layer β”‚ β”‚ β”‚ -β”‚ β”‚ β”‚ β”‚ β”‚ Layer β”‚ β”‚ β”‚ β”‚ β”‚ -β”‚ β”‚ β”‚ β€’ Files β”‚ β”‚ β€’ Classes β”‚ β”‚ β€’ Concepts β”‚ β”‚ β”‚ -β”‚ β”‚ β”‚ β€’ Folders β”‚ β”‚ β€’ Functions β”‚ β”‚ β€’ Entities β”‚ β”‚ β”‚ -β”‚ β”‚ β”‚ β€’ Structure β”‚ β”‚ β€’ Variables β”‚ β”‚ β€’ Auto-Link β”‚ β”‚ β”‚ -β”‚ β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β”‚ -β”‚ β”‚ β”‚ β”‚ -β”‚ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ β”‚ -β”‚ β”‚ β”‚ LSP β”‚ β”‚ Tree-Sitter β”‚ β”‚ LLM β”‚ β”‚ β”‚ -β”‚ β”‚ β”‚ Integration β”‚ β”‚ Parsing β”‚ β”‚ Integration β”‚ β”‚ β”‚ -β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ -β”‚ β”‚ β”‚ β€’ Referencesβ”‚ β”‚ β€’ AST Parse β”‚ β”‚ β€’ Summaries β”‚ β”‚ β”‚ -β”‚ β”‚ β”‚ β€’ Symbols β”‚ β”‚ β€’ Language β”‚ β”‚ β€’ Context β”‚ β”‚ β”‚ -β”‚ β”‚ β”‚ β€’ Workspace β”‚ β”‚ Specific β”‚ β”‚ β€’ Planning β”‚ β”‚ β”‚ -β”‚ β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β”‚ -β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ -β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ +```mermaid +graph TB + subgraph "Cue Architecture" + subgraph "User Interfaces" + VSCode["VS Code Extension
β€’ 3D Visualizer
β€’ Search/Filter
β€’ Interactive Exploration"] + MCP["MCP Server
(AI Agents)
β€’ Context Tools
β€’ Query Builder
β€’ Plan Builder
β€’ LLM Processor"] + Neo4j["Neo4j Graph Database
β€’ Node Storage
β€’ Relationships
β€’ Graph Queries
β€’ Cypher API"] + end + + subgraph "Cue Core Engine" + subgraph "Graph Layers" + FS["Filesystem Layer
β€’ Files
β€’ Folders
β€’ Structure"] + CH["Code Hierarchy Layer
β€’ Classes
β€’ Functions
β€’ Variables"] + DOC["Documentation Layer
β€’ Concepts
β€’ Entities
β€’ Auto-Link"] + end + + subgraph "Processing Components" + LSP["LSP Integration
β€’ References
β€’ Symbols
β€’ Workspace"] + TS["Tree-Sitter Parsing
β€’ AST Parse
β€’ Language Specific"] + LLM["LLM Integration
β€’ Summaries
β€’ Context
β€’ Planning"] + end + end + + VSCode --> Core[Cue Core Engine] + MCP --> Core + Neo4j --> Core + + FS --> LSP + FS --> TS + CH --> LSP + CH --> TS + DOC --> LLM + + LSP --> Neo4j + TS --> Neo4j + LLM --> Neo4j + end + + style VSCode fill:#e1f5fe + style MCP fill:#e8f5e9 + style Neo4j fill:#fff3e0 + style FS fill:#f3e5f5 + style CH fill:#f3e5f5 + style DOC fill:#f3e5f5 + style LSP fill:#fce4ec + style TS fill:#fce4ec + style LLM fill:#fce4ec ``` ## πŸ”§ Components