3.1.1 BMotionWeb Manifest File

The BMotionWeb manifest file (bmotion.json) is the root file of every BMotionWeb visualization. It contains the configuration for the visualization formatted using JSON (JavaScript Object Notation)1. The following options (and defaults) are available:

Example BMotionWeb manifest file (e.g. lift.json):


{
  "id": "lift",
  "name": "Simple lift",
  "template": "lift.html",
  "model": "model/lift.mch",
  "autoOpen": [
    "CurrentTrace",
    "Events"
  ],
  "views": [
    {
      "id": "buttons",
      "name": "Lift control",
      "template": "control.html",
      "width": 300,
      "height": 200
    }
  ]
}

Footnotes

  1. http://www.json.org.