Skip to content

golharam/cwl-graph-generate

 
 

Repository files navigation

cwl-graph-generate

Generates https://view.commonwl.org/ like images, showing a complete workflow in one image.

complete workflo

Example

$ CWL_FILE="<insert your favorite cwl workflow>"
$ docker build -t cwl-graph-generate:latest .
# This command assumes the CWL and associated files are in the working directory and a subdirectory of the working directory.
$ docker run --rm -ti -v $PWD:$PWD -w $PWD cwl-graph-generate:latest $CWL_FILE
# The output will be the basename of the $CWL_FILE.png

Limitations

This project was created with the sole purpose of creating the graph above, so the code is not written from a standpoint of maintainability or stability.

Running the Unit Tests

To run all unit tests, you can use the following command:

python3 -m unittest discover -s unit_tests

About

Generates https://view.commonwl.org/ like workflows images, showing a complete workflow.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 91.4%
  • Dockerfile 4.1%
  • Common Workflow Language 3.8%
  • Shell 0.7%