-
Notifications
You must be signed in to change notification settings - Fork 116
Websocket: visitedElements
Kristian Karl edited this page Sep 28, 2019
·
1 revision
The message visitedElement is sent from GraphWalker whenever a getNext has happened. This message can be used to visualize the progress of the execution.
Message
{
"elementId":"<The id of the element>",
"visitedCount":<The number of times this element has been visited>,
"stopConditionFulfillment":<A float between 0 and 1, meaning how close to fulfillment the stop condition of the execution is. 1 is complete fulfillment.>,
"data":{
"x":"1",
"y":"2"
},
"modelId":"<The id of the model>",
"totalCount":<Total number of elements visited>,
"command":"visitedElement"
}