iurysza / module-graph

A Gradle Plugin for visualizing your project's structure, powered by mermaidjs

Home Page:https://plugins.gradle.org/plugin/dev.iurysouza.modulegraph

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Badge for deep dependency graph.

jcaiqueoliveira opened this issue · comments

⚠️ Is your feature request related to a problem? Please describe

Not a problem at all.
Its like a Badge to indicate how healthier is the dependency graph

💡 Describe the solution you'd like

It would be nice if we could define a field to define how healthier is the dependency graph, let's say

healthDeepGraph = 4

if( deepGraph <= healthDeepGraph) Green badge
if( deeGraph > healthDeepGraph) Yellow badge
if( deepGraph > 2*healthDeepGraph) Red badge

🤚 Do you want to develop this feature yourself?

  • Yes
  • No (probably no)

Hey there 👋
(sry for the massive delay, I had my notifications off)
Interesting feature! I didn't see this lib as a quality gate, but I think we could add hooks to expose useful data about the module graph.

I want to refactor the code to make it easier to support new features, but I'll look into this. Thanks!