(rest) - added broadcast for links,configs,exceptions,files and fixed edit node (gui) - added handling of broadcast links, different rendering for wireless links, removal of wirelesss links on stop

This commit is contained in:
Blake J. Harnden 2018-09-17 11:57:47 -07:00
parent e7a56cc3ad
commit f062e2868d
11 changed files with 307 additions and 44 deletions

View file

@ -56,8 +56,9 @@ def edit_node(session_id, node_id):
data = request.get_json() or {}
node_options = NodeOptions()
x = data.get("x")
y = data.get("y")
node_position = data["position"]
x = node_position["x"]
y = node_position["y"]
node_options.set_position(x, y)
lat = data.get("lat")
lon = data.get("lon")