Open rdmolony opened 2 years ago
Vision: Interactive vector based task graph Easiest: graphviz - pixel based
Resources:
FugueWorkflow.visualize()
has to happen on local
Apologies team, I haven't made time to work on this.
I spotted Mermaidjs which reminded me of this PR, though I imagine other Python
libs have since worked out a non graphviz
solution since
https://github.com/mermaid-js/mermaid
Other:
Is your feature request related to a problem? Please describe. I find task execution graphs really useful in communicating workflows to non-technical audiences, specifically they are interested in exactly what is being performed on the data to get it from A to B. However, this can get complex fast for distributed workflows!
dask
:prefect
:The
dask
graph is really hard to follow!Describe the solution you'd like The
dask
graph is for the nerds, I'd like a higher-levelprefect
style graph instead for non-tech audiences and documentation.prefect
creates usesgraphviz
to create nodes for each task in its task graph and then plot them (I'm slowly learning @kvnkho :) - https://github.com/PrefectHQ/prefect/blob/5de58efaba956b431335d99acab07eaf6a362e1b/src/prefect/core/flow.py#L1290) which I suspect could be adapted hereDescribe alternatives you've considered It's already possible to leverage the
dask
graph by writing adask
function and using thedask
execution engine, and so perhaps there is no need to do this natively!