Adding some interaction (user input) to demo file might be helpful.
- A button to generate xml string from the graph shown
- A textarea to show the generated xml string
- Another button to load and show graph on canvas from xml string
deleting graph elements could also be useful