/cytoscape_js_schema

A schema for the javascript implementation of Cytoscape.

Primary LanguagePythonCreative Commons Zero v1.0 UniversalCC0-1.0

Cytoscape.js Schema

This repository provides a schema for the javascript implementation of Cytoscape.

The schema follows the conventions of JSON Schema.

Provided is python code that when ran outputs a JSON file of the schema. The JSON schema of the aforementioned function is also provided.

You can use the python dictionary or JSON to validate a JSON written for cytoscape initilization using JSON validator tools. I personally like python's jsonschema.

Most of the Cytoscape schema is implemented, however, it is currently not complete. Notably, keys whose values are functions are missing.