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

IDE plugin for visualizing the navigation graphs #617

Open
MohamedRejeb opened this issue Apr 21, 2024 · 5 comments
Open

IDE plugin for visualizing the navigation graphs #617

MohamedRejeb opened this issue Apr 21, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@MohamedRejeb
Copy link

Hi,
I think that having an IDE plugin for visualizing the navigation graphs is a good idea, what do you think?
I want to know if there is any technical limitation that prevents having it.
I can work on implementing this feature, let me know if you have any advice or things I need to know before I start.

@raamcosta
Copy link
Owner

Hi @MohamedRejeb

I have thought about this numerous times, but haven't had time to properly investigate and explore it.

I would say, KSP task could provide some output file with details of the graphs, and the plugin would read it and display the interactive nav graph.
KSP task is already outputting stuff like mermaid files for the structure of the graph, so either make use of that file (if the formatting is good enough -- I guess if the plugin used JS, it could just render the mermaid file directly 🤔 ?).

Let me know if I can help 🤞

@raamcosta raamcosta added the enhancement New feature or request label Apr 27, 2024
@GuilhE
Copy link

GuilhE commented May 20, 2024

We can use this one: https://plugins.jetbrains.com/plugin/20146-mermaid but for some reason is not opening the preview tab 😓

@raamcosta
Copy link
Owner

I don’t think it works on Android studio unfortunately. At least not in with the version I tested on.

@GuilhE
Copy link

GuilhE commented May 20, 2024

I don’t think it works on Android studio unfortunately. At least not in with the version I tested on.
Screenshot 2024-05-20 at 12 32 44

Correct, it works with IntelliJ IDEA CE but not with Android Studio 😢
And not having the "zoom/pan" feature it's a pain in bigger charts. Html at least opens in any browser.

@FooIbar
Copy link

FooIbar commented May 24, 2024

Correct, it works with IntelliJ IDEA CE but not with Android Studio

You need to install JBR with JCEF for it to work on AS
https://issuetracker.google.com/issues/159933628#comment7

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

4 participants