Skip to content

updateSelection Example

Chris Churas edited this page Oct 18, 2024 · 2 revisions

Format of response for updateSelection results

[
  {
    "action": "updateSelection",
    "data": {
              "nodes": [number], // Node IDs
              "edges": [number]  // Edge IDs
            }
  }
]

Example:

[
  {
    "action": "updateSelection",
    "data": {
              "nodes": [0, 15, 25],
              "edges": [3, 6]
            }
  }
]