call-graph icon indicating copy to clipboard operation
call-graph copied to clipboard

Roadmap

Open beicause opened this issue 1 year ago • 2 comments

Current features of this extension is stable. Here are further works that I consider:

  • [ ] ~Switch to Mermaid~ Make graph nicer.

Mermaid is popular and supports theming. Its digrams are more beatiful than graphviz. However it seems heavily depend DOM and have bug to export SVG. I decide to keep graphviz.

  • [x] Setup Github CI/CD. Completed since v1.2.0
  • [ ] Improve performance.

Currently the graphviz generator is not parallel and can be improved. Or rewrite the generator with native language. The second improvement may be limited, because the performance of language servers (depending on their own implementation) is a bottleneck, but we can render SVG in native instead of rendering in vscode webview with d3-graphviz(wasm).

beicause avatar May 26 '24 16:05 beicause

@beicause Regarding "Make graph nicer." I'm exploring the idea of intercepting and editing the output svg to reflect the vscode theme colors.

I had success intercepting and editing the SVG as you can see in the image, but I'll still take a look on vscode API to check how to get the color palette from from the user's theme. Let me know what you think

jotavemonte avatar May 27 '24 15:05 jotavemonte

@beicause hey I have a PR with the change that adapts the graph colors to match the active vscode's theme #26

jotavemonte avatar May 27 '24 19:05 jotavemonte