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