tintinweb / vscode-interactive-graphviz

Interactive Graphviz Dot Preview for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=tintinweb.graphviz-interactive-preview
GNU General Public License v3.0
143 stars 22 forks source link

Preview: also dim node background colour #115

Closed sybrenstuvel closed 1 year ago

sybrenstuvel commented 2 years ago

Hello!

First of all, thanks for making this VSCode extension, I just found out about it, and already it's super useful. I'm using it to navigate through Blender's dependency graph (which models the execution order of evaluating things). Even in a simple situation, it can get quite complex, looking like this:

image

You can imagine that it's really nice to highlight certain relations and mute/dim the rest. Here I've zoomed in and selected the purple TIMESOURCE node:

image

The background images of coloured nodes, like the COPY_ON_WRITE(), OPERATION(), and PARAMETERS_EVAL() nodes don't seem to be dimmed/greyed out though. It would bring more visual clarity if these were dimmed as well.

Here is the DOT file I used to generate those images. It's just been renamed to .dot.txt so that Github accepts it as attachment: modifier_time_shaderfx.dot.txt