Important:

To use this example, start com.mxgraph.examples.web.main in Java and point your
browser to: http://localhost:8080/mxgraph/javascript/examples/serverview.html