MCPcopy Create free account
hub / github.com/LangGraph-GUI/LangGraph-GUI-backend / conditional_edge

Function conditional_edge

src/WorkFlow.py:146–150  ·  view source on GitHub ↗
(state: PipelineState)

Source from the content-addressed store, hash-verified

144
145
146def conditional_edge(state: PipelineState) -> Literal["True", "False"]:
147 if state["condition"] in ["True", "true", True]:
148 return "True"
149 else:
150 return "False"
151
152def build_subgraph(node_map: Dict[str, NodeData], llm) -> StateGraph:
153 # Define the state machine

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected