readAndStandardizeJSONStyleFile | R Documentation |
this utility function examines the incoming JSON, returns exactly and only an array of selector objects
readAndStandardizeJSONStyleFile(filename)
filename |
a json file |
there are at least two JSON object structures used to specify style (see function comments in code for more details):
simple: an array of selector objects
more complex, exported from the Cytoscape desktop application this is also an array of objects, one named "style" which (like the simple format described above) contains an array of selectors.
a string with a cytoscape.js JSON graph
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.