๐Ÿ”„ Code Flow Analyzer

LangChain Agent + Mermaid.js โ€ข Visualize Your Code Flow

This tool uses AI agents to analyze your source code and generate visual flowchart diagrams.

Status: ๐ŸŸข Gemini LangChain Agent Ready (Gemini LLM)

๐Ÿ“ Source Code Input

Programming Language

Auto-detection usually works well

Quick Examples
Source Code Programming Language

๐Ÿ“Š Analysis Results

๐ŸŽจ Generated Mermaid Diagram

๐Ÿ’ก How to visualize:

  1. Copy the Mermaid code above
  2. Visit mermaid.live
  3. Paste and see your code flow diagram!

๐Ÿ“ฑ For Colab users:

  • The Mermaid code above shows your program's flow structure
  • Copy it to mermaid.live for a beautiful visual diagram
  • Try the examples above to see different code patterns

๐Ÿ“‹ Analysis Summary


๐Ÿ› ๏ธ Running in: Hugging Face Spaces or Local Environment

๐Ÿ“ฆ Dependencies: gradio, langchain, langgraph, langchain-google-genai

๐Ÿ”ง Powered by: LangChain Agents, Google Gemini, Mermaid.js, Gradio

๐Ÿ†“ Get Google API Key: aistudio.google.com/app/apikey