tons of fixes

This commit is contained in:
JohannesItten
2026-07-07 23:40:46 +03:00
parent e27770d1c3
commit 1e4688a214
+2
View File
@@ -62,6 +62,8 @@ function onConnect(connection: Connection) {
}
function run() {
if (nodes.value.length === 0) { alert('Add at least one node first.'); return }
if (edges.value.length === 0) { alert('Connect the nodes with at least one wire first.'); return }
const graph = buildGraph(nodes.value, edges.value)
studio.send({ type: 'load_graph', graph })
}