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

Can't zoom in far enough #9

Open
NobbZ opened this issue Jun 7, 2023 · 7 comments
Open

Can't zoom in far enough #9

NobbZ opened this issue Jun 7, 2023 · 7 comments

Comments

@NobbZ
Copy link

NobbZ commented Jun 7, 2023

In a project at work, the call graph probably has several thousand items (we have et least 800 elixir modules).

When initially created the graph is just a thin vertical line, after maximally zooming in, it is a bold vertical line created from blocks, that seem to have labels. It is still not quite usable.

I have not yet been able to try this on smaller projects or comperably large projects in another language.

image
@chanhx
Copy link
Owner

chanhx commented Jun 7, 2023

If the project is large, I would suggest just specifying a few files and folders for analysis. It would be slow analyzing a whole large project.
There is no edge shown on the result, maybe it's the same issue in #5. So you could check whether "call hierarchy" is supported by the language server. If so, you could retry generating the call graph with specific files.

@pJunger
Copy link

pJunger commented Jun 7, 2023

I've tried the same for C++ on a folder with 11 .cpp files and a total of 5k LOC (using clangd which seems to be able to show call hierarchies) and after multiple hours it showed the same thing. If I restrict the scope further the interactions become uninteresting/nonexisting.

@chanhx
Copy link
Owner

chanhx commented Jun 7, 2023

I've tried the same for C++ on a folder with 11 .cpp files and a total of 5k LOC (using clangd which seems to be able to show call hierarchies) and after multiple hours it showed the same thing. If I restrict the scope further the interactions become uninteresting/nonexisting.

I have not tested it with clangd on C++ projects, but I have tried it on my rust project DB0 (6k+ LOC currently), and it worked well. Maybe that is related to the language, the language server and the code complexity (not merely measured by LOC). I will test against C++ project later. As for the interaction issue, I will look into improving the performance.

@iyongliang
Copy link

I have same issue. For a cpp project, call graph too long and not connected each other, very expect new feature for C / C++ project!

@chanhx
Copy link
Owner

chanhx commented Sep 8, 2023

I've released version v0.1.2 which should fix this bug. Could you please update the extension and confirm if the problem is now resolved?

@DR-APL
Copy link

DR-APL commented Mar 18, 2024

In my experience, this is still an issue for both SVG exports and the Visual Studio Code extension which I imagine is the same issue but with an embedded browser window.

@chanhx
Copy link
Owner

chanhx commented Mar 27, 2024

In my experience, this is still an issue for both SVG exports and the Visual Studio Code extension which I imagine is the same issue but with an embedded browser window.

I have fixed some bugs on Windows and unset the max zoom level in v0.4.0. Please update the extension and take it a try.

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

5 participants