WebSocket server that runs the graph