gradle-visteg icon indicating copy to clipboard operation
gradle-visteg copied to clipboard

Enhancement: multiple DOT reports

Open aeiplatform opened this issue 4 years ago • 0 comments

Since yours plugin is one of my favorites, because it's much easier to orient in huge projects. But it would be nice to have more reports like in $buildDir/visteg/... Surely there is a lot of potential of extending this to more Gradle projects.

I was thinking about current output with some simplifications if project is defined as: Root -> N sub-projects In its current state, the plugin always visualizes the same tasks for each sub-project, even if they exist the same as the root module. It would be nice to get detailed information of root module task dependencies and for sub-projects get only 1 edge from the first occurrence to just module abstraction only if all modules has the same sub-graph, but that might need another shape or visual effect. Even the project of 8 modules gets into a state that is unable to read the chart in normal screen size because it is quite complicated view.

Example: Java project

:jar -> :compileJava +.... :jar -> :module :jar -> :module

Instead of:

:jar -> :compileJava + ... :jar -> :module:jar + :module:compileJava + .... :jar -> :module:jar + :module:compileJava + ...

Or another options:

  • current report (whole diagram)
  • minimized current report
  • module dependency graph report
  • project class-path dependencies report
  • only current module report (that would depend which module is currently executing the task)

It's just about a suggestion when you'll be bored or feel free to close that.

aeiplatform avatar Feb 07 '20 11:02 aeiplatform