common-workflow-language / common-workflow-language/cwlviewer

Single request best effort diagram generation

Ouverte
#185 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Java
Étoiles
52
Forks
29
Merge moyen
5 h 12 min
PR mergées (30 j)
6

Description

Scenario:

Embedded PNG workflow diagram in a GitHub README file like:

https://view.commonwl.org/graph/png/github.com/common-workflow-language/workflows/blob/master/workflows/lobSTR/lobSTR-workflow.cwl

If the the workflow has never been seen before:
- Return image stating that the workflow is rendering
- In a separate thread, start workflow rendering and skip or defer the complete prospective RO processing that normally occurs.

If it has been seen before but the cached render is out of date
- Return most recent cached workflow image with an 'updating' disclaimer at the top
- In a separate thread, start the updated workflow rendering and skip or defer the complete prospective RO processing that normally occurs.

If it has been seen before and the cached render is up to date:
- Return the cached up to date rendered workflow diagram

Once this feature works there should be a widget to generate code for inclusion in multiple formats: plain HTML, MarkDown, ReStructuredText, etc..

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.