Skip to content
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

Static DAG visualisation with graphviz #2336

Closed
wants to merge 2 commits into from

Conversation

Casyfill
Copy link

@Casyfill Casyfill commented Jan 21, 2018

NOTE: not ready for PR yet, will finalize
NOTE2: my first serious PR, don't judge too quickly

Description

adds luigi.tools.staticviz module, that generates a static (png, pdf, svg) visualization of Luigi Dag
Discussed in #2328

test_cencored

Motivation and Context

In many cases, it is useful to render your task graph as a diagram - for documentation or presentation purposes. staticviz does exactly that - you can render your graphs on the fly (to README.md, for example), apply fancy styles for the presentations - or store it as an svg and hand out to a professional designer.

Have you tested this? If so, how?

  • work in progress
  • has no interaction with the main body of code

Tasks and Goals

  • proof of concept (only supports Python 3)
  • fix environments
  • make it work on Py 2.7
  • add tests
  • add support for non-unified styles, add default style (or styles)
  • add support for subgraphs, multiple end-points, complex layouts
  • beg for PR

@Casyfill Casyfill closed this Jan 21, 2018
@Casyfill Casyfill reopened this Jan 21, 2018
@dlstadther
Copy link
Collaborator

Unrelated to your code, but why did so many other unnecessary files get committed here? Please clean it up.

I like the idea of this and will review once Py2.7 support is added. Thanks!

@Casyfill Casyfill changed the title proof-of-concept Static DAG visualisation with graphviz Jan 22, 2018
@stale
Copy link

stale bot commented Jul 31, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If closed, you may revisit when your time allows and reopen! Thank you for your contributions.

@stale stale bot added the wontfix label Jul 31, 2018
@stale stale bot closed this Aug 14, 2018
@rwagenmaker
Copy link

rwagenmaker commented Apr 26, 2021

@Casyfill Were there any developments of this feature in a different PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants