howardjones / network-weathermap

Network Weathermap draws diagrams from data
http://www.network-weathermap.com/
MIT License
425 stars 94 forks source link

In editor, moving a node with relative children doesn't update imagemap #95

Open howardjones opened 7 years ago

howardjones commented 7 years ago

When a node has children (relative positions), and it is moved, the positions of the children are not immediately recalculated. This gives a situation where the imagemap doesn't update, but the image itself does (because it involves reloading the config). The move takes fully place as expected after any other change (or 'do nothing').

Immediately after a node move, relative positions should be recalculated. There is no convenient facility to do this currently.

Temporary fix: just press "do nothing" or edit something else.

ikorzha commented 7 years ago

I am aware of the bug in #95, I experienced many times in the past. to get around it I usually reload a config in editor by open a new config file:). Fix for it would be nice!

ikorzha commented 7 years ago

I have tested the latest editor.php build, I do see that original #95 bug still there. I'm not sure if you have made an attempt to address it or now.

howardjones commented 7 years ago

No, that will take more change - it needs to reset the status of all the nodes and recalculate them.