Skip to content
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

Export interactive crabviz page #32

Open
naseer-nv opened this issue Apr 18, 2024 · 3 comments
Open

Export interactive crabviz page #32

naseer-nv opened this issue Apr 18, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@naseer-nv
Copy link

Thanks for the utility!
I want to export the crabviz page entirely as html (including the click functionality) as well as reference the links to the code in an online browser. Can you please consider this feature request?

@chanhx
Copy link
Owner

chanhx commented Apr 24, 2024

Good idea! We can bundle all related files of a call graph into a single html file to share that interactive call graph.

And there is a plan for the "jump to the code" feature, but I would prefer to do it just in the editor, because links to the code just work in the local environment.

I think we would have these features in v0.5.0 .

@chanhx chanhx added the enhancement New feature or request label Apr 24, 2024
@naseer-nv
Copy link
Author

Jump to the code in the case of an exported html can be done by providing a base URL pattern as a user provided workspace config setting - that URL can be an opengrok link or a GitHub link for example. Crabviz can then use the relative code path to the workspace root and that base pattern to generate the link.

@chanhx
Copy link
Owner

chanhx commented Apr 24, 2024

Hmm, that is beyond the project scope.

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

No branches or pull requests

2 participants