edVent html client
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
enyo @ b2488a3
examples
lib
source
tasks
tools
.bowerrc
.gitignore
.gitmodules
.jshintignore
.jshintrc
.travis.yml
Gruntfile.js
README-CORDOVA-WEBOS.md
README.md
debug.html
deploy.json
deploy.md
icon.png
index.html
package.js
package.json

README.md

About

edVent is a visualization tool that helps debugging event based software, and more specifically state machines. It is based on enyojs and d3js. Load a dump of yours events formatted as a json array and you can easily see what happened.

Json input format

The input logs are structured in json objects. The log structure is the following one:

{
  "t": "iso8601 date",
  "class":"string",
  "method":"string",
  "obj":"string",
  "type":"string",
  "data_in":{object}
  "data_out":{object}
}
  • t : The timestamp of the event
  • class : The class name
  • method : The method name
  • obj : the object identifier
  • type : event|entry|exit|link
  • data_in : Contains the list of input parameters
  • data_out : Contains the list of output parameters (result).

Example:

[
    { "t" : "0", "class" : "hsm1", "obj" : "1", "method" : "state3", "data_in" : {} },
    { "t" : "0", "class" : "hsm1", "obj" : "1", "method" : "state2", "data_in" : {} },
    { "t" : "0", "class" : "hsm1", "obj" : "2", "method" : "state3", "data_in" : {} },
]