Skip to content

Instantly share code, notes, and snippets.

@myui
Last active November 29, 2025 01:57
Show Gist options
  • Select an option

  • Save myui/cb2379d23ee858859311370a308b1d0e to your computer and use it in GitHub Desktop.

Select an option

Save myui/cb2379d23ee858859311370a308b1d0e to your computer and use it in GitHub Desktop.
flowchart TB
    %% --- スタイル定義 ---
    %% 質問ノード(ひし形): 青系
    classDef question fill:#e3f2fd,stroke:#1565c0,stroke-width:2px,color:#0d47a1;
    %% 結果ノード(角丸): オレンジ/赤系で強調
    classDef result fill:#ffe0b2,stroke:#e65100,stroke-width:2px,color:#bf360c,rx:10,ry:10;
    %% エッジのテキスト背景: 白で見やすく
    linkStyle default fill:none,stroke:#546e7a,stroke-width:2px;

    %% --- ノード定義 ---
    Start{{"どちらのアプローチ?"}}:::question
    
    %% ワークフロー側の質問
    Lang{"好みの言語は?"}:::question
    Cycle{"巡回(Loop)を含む?"}:::question
    Dissatisfied{"LangGraphに不満?"}:::question
    TSStyle{"どちらが好み?"}:::question

    %% エージェント側の質問
    Policy{"構築の方針は?"}:::question

    %% --- 接続とロジック ---
    Start -->|決定的なワークフロー| Lang
    Start -->|自立的なエージェント| Policy

    %% Pythonルート
    Lang -->|Python| Cycle
    Cycle -->|含む| Dissatisfied
    Cycle -->|含まない| LangChain([LangChain]):::result

    %% LangGraph vs Graphflow 分岐
    Dissatisfied -->|はい| Graphflow([Graphflow]):::result
    Dissatisfied -->|いいえ| LangGraph([LangGraph]):::result

    %% TypeScriptルート
    Lang -->|TypeScript| TSStyle
    TSStyle -->|CUI / Low-Code| n8n([n8n]):::result
    TSStyle -->|コード中心| Mastra([Mastra]):::result

    %% エージェントルート
    Policy -->|Prompt中心| CrewAI([CrewAI]):::result
    Policy -->|Programmable| GoogleADK([Google ADK]):::result
Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment