Add folder or file level grouping
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?
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.
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.
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