MCPcopy Create free account
hub / github.com/codag-megalith/codag-visualizer / GraphNode

Class GraphNode

backend/models.py:44–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42
43
44class GraphNode(BaseModel):
45 id: str
46 label: str # "Gemini 2.5 Flash", "Validate Request"
47 type: str # step, llm, decision
48 description: Optional[str] = None # ≤10 words, omit if obvious from label
49 source: Optional[SourceLocation] = None
50
51 # LLM-specific
52 model: Optional[str] = None
53 temperature: Optional[float] = None
54
55class ComponentMetadata(BaseModel):
56 """Sub-component within a workflow (e.g., error handling, tool selection)."""

Callers 1

parse_flowchartFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected