Skip to content

Latest commit

 

History

History
58 lines (52 loc) · 1.36 KB

GRAPH.md

File metadata and controls

58 lines (52 loc) · 1.36 KB

Module Graph

%%{
  init: {
    'theme': 'dark'
  }
}%%

graph LR
  subgraph :core
    :core:data["data"]
    :core:domain["domain"]
    :core:presentation["presentation"]
  end
  subgraph :feature
    :feature:foo["foo"]
    :feature:bar["bar"]
  end
  :core:data --> :core:domain
  :core:presentation --> :core:domain
  :db --> :core:data
  :db --> :feature:foo
  :db --> :feature:bar
  :feature:bar --> :core:data
  :feature:bar --> :core:presentation
  :app --> :core:presentation
  :app --> :db
  :app --> :feature:foo
  :app --> :feature:bar
  :feature:foo --> :core:data
  :feature:foo --> :core:presentation

classDef android-library fill:#3BD482,stroke:#fff,stroke-width:2px,color:#fff;
classDef kotlin-jvm fill:#8150FF,stroke:#fff,stroke-width:2px,color:#fff;
classDef android-application fill:#2C4162,stroke:#fff,stroke-width:2px,color:#fff;
class :core:data android-library
class :core:domain kotlin-jvm
class :core:presentation android-library
class :db android-library
class :feature:foo android-library
class :feature:bar android-library
class :app android-application
Loading

Created by iurysza/module-graph

Configs:

moduleGraphConfig {
    readmePath.set("./GRAPH.md")
    heading = "### Module Graph"
    setStyleByModuleType.set(true)
    rootModulesRegex.set(".*app.*")
    theme.set(Theme.DARK)
}