gradle-dependency-graph-generator-plugin icon indicating copy to clipboard operation
gradle-dependency-graph-generator-plugin copied to clipboard

Group artifacts by groupId

Open vgheo opened this issue 2 years ago • 0 comments

In large projects, it may be useful to present artifacts with the same groupId into a graphviz cluster.

As configuration API I think this could be implemented by adding a property 'clusterId' on each node, that would be used as cluster name in the dot output.

eg - config

dependencyNode = { node, dependency -> node.add( ClusterId.of(dependency.getModuleGroup()) }

output

subgraph cluster_comexample {
"comexamplea"
"comexampleb"
}

vgheo avatar Oct 13 '23 06:10 vgheo