vscode-terraform-live-graph icon indicating copy to clipboard operation
vscode-terraform-live-graph copied to clipboard

[FEATURE]: Remove external dependency on graphviz

Open adamiBs opened this issue 1 year ago • 1 comments

Describe the solution you'd like

  • As an initial phase, reliance on graphviz was sufficient. The increased usage of the extension makes the improvement a relevant upgrade in usage experience.
  • Implementation of dot language parsing within the extension instead of reliance on an installation of graphviz on the workstation.

Additional context Add any other context or screenshots about the feature request here.

Implementation proposal

  • Research existing libraries that might parse dot language in pure javascript.
  • Compilation of graphviz to WASM (from C++) seems like a possible course of action from here.
  • Dependance on an external web service instead of a local installation of graphviz

adamiBs avatar Mar 26 '23 13:03 adamiBs

Unfortunately, the dependency on graphviz makes this unusable with GitHub Codespaces. Our team has moved 100% away from VS Code to Codespaces and really hoped this would work there too. Trying to install Graphviz resulted in a ton of dependency errors that we couldn't seem to get around.

bdorplatt avatar Nov 10 '23 22:11 bdorplatt