Websocket: getData - GraphWalker/graphwalker-project GitHub Wiki

GetData

The Websocket message command getData is used to ask GraphWalker for the current data values of the current model.

Request

{
  "command":"getData"
}

Response

If the request was successful "success" will be "true".

This is an example of a getData response.

{
  "data":{
    "x":"1",
    "y":"2"
  },
  "success":true,
  "command":"getData"
}