Open majosm opened 1 month ago
@matthiasdiener too 🙂
I remember that @kaushikcfd had code that would only show the type of node (with different node colors and shapes), without the metadata like id
, tags
, etc. I think this can be helpful when visualizing large DAGs.
My main problem with the current visualization is that it's incredibly verbose. IMO, ideally, a node adding two arrays would look like this:
with everything else in a tooltip that can pop up on request. (That is something that graphviz supports.)
In using show_dot_graph
, I notice that there are times that the information about an individual operation can sometimes extend over the bounding box drawn for the operation. I like @inducer's request to make the information appear as a pop up.
I just wanted to brainstorm some ideas here for improving visualization of large DAGs, with the intent of possibly finding one or more improvements that @kajalpatelinfo could work on while she's still with us for the summer.
I don't know if there have been any past discussions about this; at least I didn't see anything while browsing through past issues. I have a couple of vague ideas for improvements that I think would be useful. However, I'm not very familiar with the visualization code, so I don't have a sense of how difficult they would be to implement. Here they are in any case:
show_dot_graph
.Any thoughts @inducer, @kaushikcfd? I'd be interested in hearing about any other visualization ideas you've thought of as well.