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

Add folder or file level grouping #23

Open
pierrekttipay opened this issue Apr 17, 2024 · 3 comments
Open

Add folder or file level grouping #23

pierrekttipay opened this issue Apr 17, 2024 · 3 comments

Comments

@pierrekttipay
Copy link

Hi @koknat this tool is so good! Thank you so much for your hard work

Though I think it would be great to add ways to create group at the file level and folder level.
This can be done with dot format and has been done in typescript here: https://github.com/PSeitz/ts-dependency-graph

Can you please share your thoughts on this?

@koknat
Copy link
Owner

koknat commented Apr 18, 2024

Hi @pierrekttipay that sounds like a very useful addition, especially if many files are involved.
I don't have any spare time to commit to callGraph currently, but I would welcome this enhancement.

@pierrekttipay
Copy link
Author

I do not know Perl. There is no change I can contribute to this project.
Maybe a simpler task for you could be to aggregate relationships at the file level instead of method level via an option.

My call graph is quite complex because each method is considered independently in the graph. I would prefer to have an option to consider the file level.

@koknat
Copy link
Owner

koknat commented Apr 19, 2024

The Perl code which generates the graph is in the generate() subroutine.
It uses the GraphViz CPAN module to generate the dot format: https://metacpan.org/pod/GraphViz

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