Skip to content

Commit

Permalink
Update README references to extension's property (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
es0329 authored May 11, 2024
1 parent dad17c3 commit 8b3f816
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ moduleGraphConfig {
// excludedModulesRegex = ".*moduleName.*" // optional
// focusedModulesRegex = ".*(projectName).*" // optional
// rootModulesRegex = ".*moduleName.*" // optional
// setStyleByPluginType = true // optional
// setStyleByModuleType = true // optional
// theme = Theme.NEUTRAL // optional
// Or you can fully customize it by using the BASE theme:
// theme = new Theme.BASE(
Expand Down Expand Up @@ -167,7 +167,7 @@ moduleGraphConfig {
// showFullPath.set(false) // optional
// orientation.set(Orientation.LEFT_TO_RIGHT) //optional
// linkText.set(LinkText.NONE) // optional
// setStyleByPluginType.set(true) // optional
// setStyleByModuleType.set(true) // optional
// excludedConfigurationsRegex.set(".*test.*") // optional
// excludedModulesRegex.set(".*moduleName.*") // optional
// focusedModulesRegex.set(".*(projectName).*") // optional
Expand Down Expand Up @@ -216,7 +216,7 @@ Required settings:

Optional settings:

- **setStyleByPluginType**: Whether to style the modules based on their type (KotlinMultiplatform, Android Library, etc). Default is `false`. [Read more](#module-type-based-styling).
- **setStyleByModuleType**: Whether to style the modules based on their type (KotlinMultiplatform, Android Library, etc). Default is `false`. [Read more](#module-type-based-styling).
- **focusedModulesRegex**: The regex to match nodes in the graph (project names) that should be focused. By
default, no nodes are focused.
If set, the matching nodes will be highlighted and only related nodes will be shown. The color can be customized via the `focusColor` property
Expand Down Expand Up @@ -413,7 +413,7 @@ Just toggle this option on:
```kotlin
moduleGraphConfig {
//..
setStyleByPluginType.set(true)
setStyleByModuleType.set(true)
}
```

Expand Down

0 comments on commit 8b3f816

Please sign in to comment.