Skip to content

oliver-sanders/graph-testbed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Graph Engine Testbed

Different graph engines are implemented in each directory.

Each engine has a JS interface so they can all plug into the same data source which comes from graph.js.

The Engines

To Run

Open the index.html file in each directory.

You will need to view these files through a web server otherwise the browser will block you from loading the graph files due to cross-site-scripting.

To Profile

Open your browser console, timings will be written here.

To View A Custom Graph

To generate a JSON file from a .dot file (as output by cylc graph) you can do something along the lines of this:

echo [ > graph.json; grep '\->' graph.dot | sed 's/\[.*//; s/ \->/,/g; s/^\t*//; s/^/\[/; s/ *$//; s/$/\],/' >> graph.json; echo ] >> graph.json
# remove final comma

About

An experiment in using web graph engines to represent large Cylc Flow graphs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published