feat: new projects start with empty state

This commit is contained in:
2026-03-10 00:19:14 +01:00
parent 80653b7fce
commit eed880e7ef

View File

@@ -137,6 +137,7 @@ function getInitialGraph(projectId: string | undefined): { nodes: AppNode[]; edg
if (stored && (stored.nodes.length > 0 || stored.edges.length > 0)) {
return { nodes: stored.nodes as AppNode[], edges: stored.edges as AppEdge[] }
}
return { nodes: [], edges: [] }
}
return getExampleGraph()
}