edit node and edge only for static