{"repo":"xt765/mermaid-trace","free":true,"listed":false,"github":"https://github.com/xt765/mermaid-trace","clone":"git clone https://github.com/xt765/mermaid-trace.git","description":"Stop reading logs. Start watching them. MermaidTrace is a specialized logging tool that automatically generates Mermaid JS sequence diagrams from your code execution. It's perfect for visualizing complex business logic, microservice interactions, or asynchronous flows.","language":"Python","stars":83,"topics":["fastapi","mermaid","pipy-package","python","langchain","python-script","visualization","layered-architecture","mvc-architecture","middleware"],"license":"MIT","category":"ai-agents","readme_excerpt":"MermaidTrace: Visualize Your Python Code Logic Stop drowning in cryptic logs. One line of code to transform complex execution logic into clear Mermaid sequence diagrams. 🌐 Language : English 中文 🏗️ Architecture --- ⚡️ Understand MermaidTrace in 5 Seconds 1. Original Code (15+ lines) 2. Auto-Generated Sequence Diagram --- 🚀 Dynamic Demo & Online Tryout 🎬 Quick Demo (Master Preview: Multi-file browsing, live-reload, and interactive pan/zoom) (From adding decorators to browser live preview in 10 seconds) 🛠️ Try Online (Google Colab) No local setup required. Experience core features in your browser: --- 🎯 Why MermaidTrace? (Use Cases) 1. Master \"Legacy\" Codebases Pain : Taking over a complex, undocumented legacy project with tangled function calls. Solution : Add @trace class or @trace to entry points and run the code once. Value : Instantly generate a complete execution path map to understand the architecture. 2. Automated Technical Docs Pain : Manual sequence diagrams are time-consuming and quickly become outdated. Solution : Integrate MermaidTrace during development. Value : Diagrams stay 100% in sync with your code logic automatically. 3. Debug Complex Recursion & Concurrency Pain : Nested calls or async tasks produce interleaved logs that are impossible to read. Solution : Use built-in async support and intelligent collapsing. Value : Visualize recursion depth and concurrency flow to pinpoint logic bottlenecks. --- 🚀 Quick Start in 3 Steps 1. Install 2. Add Decorators ","default_branch":null,"files":null,"tree":[],"storefront":"/r/xt765","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/xt765/mermaid-trace/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}