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

Clearer colourmap / labels when showing task order in visualize #9069

Open
TomNicholas opened this issue May 11, 2022 · 3 comments
Open

Clearer colourmap / labels when showing task order in visualize #9069

TomNicholas opened this issue May 11, 2022 · 3 comments
Labels
core feature Something is missing

Comments

@TomNicholas
Copy link

After a helpful suggestion from @TomAugspurger, I'm trying to examine the static task order of my DAG. This is harder than it should be just because

  1. The current way of applying the colour map means sequential tasks have the most similar colours
  2. There is no key to tell me which colour is first
  3. I don't know of any other way to access this information
  4. This definitely isn't colourblind-friendly (I'm not colourblind, but ~8% of men are)

My looks like this, which I'm finding hard to parse - for example I'm finding hard to tell if 30 occurs before 37.

image

Q's:

  1. Is there another way for me to easily find out the static task order?
  2. Can we add an (optional) key to help me differentiate?
  3. Is there a html version of this graph that can tell me this info with a mouseover?

Thanks

@github-actions github-actions bot added the needs triage Needs a response from a contributor label May 11, 2022
@TomAugspurger
Copy link
Member

  1. Is there another way for me to easily find out the static task order?

dask.order.order will give you the ordering as a dictionary (I think0.

FYI, cmap="autumn", node_attr={"penwidth": "4"}) helps a bit with the coloring.

Is there a html version of this graph that can tell me this info with a mouseover?

I don't think so. That would be handy.

@ian-r-rose
Copy link
Collaborator

Is there a html version of this graph that can tell me this info with a mouseover?

This would be a good thing to do as part of #7301. A nicer, more web-friendly graph viz would also be great for #9053 .

@pavithraes pavithraes added core feature Something is missing and removed needs triage Needs a response from a contributor labels May 16, 2022
@jsignell
Copy link
Member

jsignell commented Jun 1, 2022

There was also some work done by @eriknw around coloring the graph by different ordering fields. You can peruse this PR for more details #7992

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

No branches or pull requests

5 participants