Skip to content

ENH: Generate a visualization of a project's DAG. #77

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
tobiasraabe opened this issue Mar 23, 2021 · 1 comment · Fixed by #101
Closed

ENH: Generate a visualization of a project's DAG. #77

tobiasraabe opened this issue Mar 23, 2021 · 1 comment · Fixed by #101
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@tobiasraabe
Copy link
Member

Describe the solution you'd like

Allow to generate visualizations of the project's DAG which is either useful to debug the workflow visually or to flex with the complexity of the project.

The DAG is based on networkx which offers several utilties to plot graph. When we were still using Waf, we used python-graphviz.

We could do the following:

  1. Provide a command to render the graph to pdf, png, etc. using a default style.
  2. Document in the how to guides how to access the graph when using pytask's programmatic interface.
  3. Provide a function which returns a cleaned version of pytask's internal graph such that there is less user interaction with the internals of pytask.
@tobiasraabe tobiasraabe added enhancement New feature or request good first issue Good for newcomers labels Mar 23, 2021
@tobiasraabe
Copy link
Member Author

I, personally, think 2. is a bad idea. 1. increases the complexity of the CLI and I would assume most people would prefer to colorize the graph themselves. Then, 3. is the logical winner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant