Skip to content

Roadmap #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 of 3 tasks
beicause opened this issue May 26, 2024 · 2 comments
Open
1 of 3 tasks

Roadmap #24

beicause opened this issue May 26, 2024 · 2 comments

Comments

@beicause
Copy link
Owner

beicause commented May 26, 2024

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.

  • 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 beicause pinned this issue May 26, 2024
@jotavemonte
Copy link
Contributor

@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
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants