Graph loading using server-side data + node editing

- graph is loaded using server-side data instead of hard-coded JS
- implemented initial node editing functions on both sides (client and
server-side functions for editing are also connected)