Skip to content

Image Pipeline Playground

feat(backend/api): accept optional edge waypoints on graph edges

Mohammad Rajaei7119552638d0
diff --git a/backend/app/models/graph.py b/backend/app/models/graph.py
index a2a1ed7..e12e5b0 100644
--- a/backend/app/models/graph.py
+++ b/backend/app/models/graph.py
@@ -35,6 +35,8 @@ class Edge(BaseModel):
source_port: str = "image"
target: str
target_port: str = "image"
+ # Frontend-only bend anchors; ignored by the executor.
+ waypoints: list[dict[str, float]] | None = None
class Graph(BaseModel):