Files
Forge-Engine/screens/flow/move_flow_node.py
T
williamandwilliam 3f4ebc4527
Build and deploy / build-and-push (push) Successful in 17s
Build and deploy / deploy (push) Successful in 10s
first commit
2026-08-21 16:23:49 +02:00

9 lines
202 B
Python

import db
def move_flow_node(slug, node_id, x, y):
conn = db.connect(slug)
conn.execute("UPDATE _flow_nodes SET x = ?, y = ? WHERE id = ?", (x, y, node_id))
conn.commit()
conn.close()