crabviz icon indicating copy to clipboard operation
crabviz copied to clipboard

Export interactive crabviz page

Open naseer-nv opened this issue 10 months ago • 3 comments

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?

naseer-nv avatar Apr 18 '24 13:04 naseer-nv

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 avatar Apr 24 '24 10:04 chanhx

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.

naseer-nv avatar Apr 24 '24 10:04 naseer-nv

Hmm, that is beyond the project scope.

chanhx avatar Apr 24 '24 11:04 chanhx