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

Add filtering #154

Closed ookami-kb closed 1 year ago

ookami-kb commented 1 year ago

Hey, thanks for the extension, it really helps a lot.

It would be great if we could do filtering by nodes/clusters. I'm using this extension to analyze dependencies graphs, and there are 2 problems:

  1. It becomes really laggy on mid-sized graphs (350 nodes / 1150 edges).
  2. I don't always need to view the whole graph, usually I can work with a subset.

Both problems could be solved by filtering: either showing a module (i.e. cluster) in isolation (to check the internal dependencies) or adding upstream/downstream dependencies.

Similar to what we can now do by highlighting, but removing unaffected elements from rendering.

bigbug commented 1 year ago

Hi, we already created a feature which might help you in your use case. However it's not yet published and will come with us releasing #104.

Screenshot 2023-03-04 at 19 20 48