Graphs encoded in JSON

  • e.g. to pass them to CytoscapeJS
  • TODO: detailed description of the graph
  • TODO: how to configure CytoscapeJS (stylesheet, javascripts)
  • TODO: demo
  • example Graph:
{
   "elements": {
      "edges": [
         {
            "classes": "bives-ioedge",
            "data": {
               "source": "s2",
               "target": "r3"
            }
         },
         {
            "classes": "bives-stimulator bives-deleted",
            "data": {
               "source": "s4",
               "target": "r3"
            }
         },
         /* [...] */
      ],
      "nodes": [
         {
            "classes": "compartment",
            "data": {
               "id": "c1",
               "name": "compartment"
            }
         },
         {
            "classes": "species",
            "data": {
               "id": "s2",
               "name": "sigb",
               "parent": "c1"
            }
         },
         {
            "classes": "reaction bives-modified",
            "data": {
               "id": "r3",
               "name": "sigb degr",
               "parent": "c1"
            }
         },
         /* [...] */
      ]
   }
}
Last modified 3 years ago Last modified on Feb 7, 2014, 2:45:55 PM
authorship