diff --git a/build.gradle.kts b/build.gradle.kts
index 5073f4c93..6f2e94a62 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -46,4 +46,24 @@ tasks.register("versionFile") {
val file = File(projectDir, "version.txt")
DynamicVersion.setDynamicVersion(file, project.version.toString())
+}
+
+// Task to print all the module paths in the project e.g. :core:data
+// Used by module graph generator script
+tasks.register("printModulePaths") {
+ subprojects {
+ if (subprojects.size == 0) {
+ println(this.path)
+ }
+ }
+}
+
+// Configuration for CMP module dependency graph
+moduleGraphAssert {
+ configurations += setOf("commonMainImplementation", "commonMainApi")
+ configurations += setOf("androidMainImplementation", "androidMainApi")
+ configurations += setOf("desktopMainImplementation", "desktopMainApi")
+ configurations += setOf("jsMainImplementation", "jsMainApi")
+ configurations += setOf("nativeMainImplementation", "nativeMainApi")
+ configurations += setOf("wasmJsMainImplementation", "wasmJsMainApi")
}
\ No newline at end of file
diff --git a/core/analytics/README.md b/core/analytics/README.md
index 5ec4be95c..b0842354b 100644
--- a/core/analytics/README.md
+++ b/core/analytics/README.md
@@ -1 +1,3 @@
# :core:analytics module
+## Dependency graph
+![Dependency graph](../../docs/images/graphs-kmp/dep_graph_core_analytics.svg)
diff --git a/core/common/README.md b/core/common/README.md
index a3fc24ebe..1ac6cbc4a 100644
--- a/core/common/README.md
+++ b/core/common/README.md
@@ -1 +1,3 @@
# :core:common module
+## Dependency graph
+![Dependency graph](../../docs/images/graphs-kmp/dep_graph_core_common.svg)
diff --git a/core/data/README.md b/core/data/README.md
index 1a61922b1..600158493 100644
--- a/core/data/README.md
+++ b/core/data/README.md
@@ -21,4 +21,7 @@ graph LR
:core:data --> :core:model
:core:data --> :core:network
:core:data --> :core:analytics
-```
\ No newline at end of file
+```
+# :core:data module
+## Dependency graph
+![Dependency graph](../../docs/images/graphs-kmp/dep_graph_core_data.svg)
diff --git a/core/datastore/README.md b/core/datastore/README.md
index d177650da..76c0c03d3 100644
--- a/core/datastore/README.md
+++ b/core/datastore/README.md
@@ -15,4 +15,7 @@ graph LR
end
:core:datastore --> :core:model
:core:datastore --> :core:common
-```
\ No newline at end of file
+```
+# :core:datastore module
+## Dependency graph
+![Dependency graph](../../docs/images/graphs-kmp/dep_graph_core_datastore.svg)
diff --git a/core/designsystem/README.md b/core/designsystem/README.md
index 3426b32c5..9981b10f4 100644
--- a/core/designsystem/README.md
+++ b/core/designsystem/README.md
@@ -13,4 +13,7 @@ graph LR
:core:model["model"]
end
:core:designsystem --> :core:model
-```
\ No newline at end of file
+```
+# :core:designsystem module
+## Dependency graph
+![Dependency graph](../../docs/images/graphs-kmp/dep_graph_core_designsystem.svg)
diff --git a/core/domain/README.md b/core/domain/README.md
index 75386aeb9..b09a4cd9f 100644
--- a/core/domain/README.md
+++ b/core/domain/README.md
@@ -17,4 +17,7 @@ graph LR
:core:domain --> :core:common
:core:domain --> :core:data
:core:domain --> :core:model
-```
\ No newline at end of file
+```
+# :core:domain module
+## Dependency graph
+![Dependency graph](../../docs/images/graphs-kmp/dep_graph_core_domain.svg)
diff --git a/core/model/README.md b/core/model/README.md
index dcd5e4635..344139ade 100644
--- a/core/model/README.md
+++ b/core/model/README.md
@@ -13,4 +13,7 @@ graph LR
:core:common["common"]
end
:core:model --> :core:common
-```
\ No newline at end of file
+```
+# :core:model module
+## Dependency graph
+![Dependency graph](../../docs/images/graphs-kmp/dep_graph_core_model.svg)
diff --git a/core/network/README.md b/core/network/README.md
index 805db9533..1595718fb 100644
--- a/core/network/README.md
+++ b/core/network/README.md
@@ -17,4 +17,7 @@ graph LR
:core:network --> :core:common
:core:network --> :core:model
:core:network --> :core:datastore
-```
\ No newline at end of file
+```
+# :core:network module
+## Dependency graph
+![Dependency graph](../../docs/images/graphs-kmp/dep_graph_core_network.svg)
diff --git a/core/ui/README.md b/core/ui/README.md
index 505210ff7..ea813f37f 100644
--- a/core/ui/README.md
+++ b/core/ui/README.md
@@ -19,4 +19,7 @@ graph LR
:core:ui --> :core:designsystem
:core:ui --> :core:model
:core:ui --> :core:common
-```
\ No newline at end of file
+```
+# :core:ui module
+## Dependency graph
+![Dependency graph](../../docs/images/graphs-kmp/dep_graph_core_ui.svg)
diff --git a/docs/images/graphs-kmp/dep_graph_core_analytics.svg b/docs/images/graphs-kmp/dep_graph_core_analytics.svg
new file mode 100644
index 000000000..3852e0c12
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_core_analytics.svg
@@ -0,0 +1,19 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_core_common.svg b/docs/images/graphs-kmp/dep_graph_core_common.svg
new file mode 100644
index 000000000..91e2b4bbc
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_core_common.svg
@@ -0,0 +1,19 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_core_data.svg b/docs/images/graphs-kmp/dep_graph_core_data.svg
new file mode 100644
index 000000000..354ef0537
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_core_data.svg
@@ -0,0 +1,115 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_core_datastore.svg b/docs/images/graphs-kmp/dep_graph_core_datastore.svg
new file mode 100644
index 000000000..b6ee5569e
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_core_datastore.svg
@@ -0,0 +1,49 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_core_designsystem.svg b/docs/images/graphs-kmp/dep_graph_core_designsystem.svg
new file mode 100644
index 000000000..96acb52fb
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_core_designsystem.svg
@@ -0,0 +1,43 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_core_domain.svg b/docs/images/graphs-kmp/dep_graph_core_domain.svg
new file mode 100644
index 000000000..3e6de3abc
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_core_domain.svg
@@ -0,0 +1,139 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_core_model.svg b/docs/images/graphs-kmp/dep_graph_core_model.svg
new file mode 100644
index 000000000..e69de29bb
diff --git a/docs/images/graphs-kmp/dep_graph_core_network.svg b/docs/images/graphs-kmp/dep_graph_core_network.svg
new file mode 100644
index 000000000..8f1d182f7
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_core_network.svg
@@ -0,0 +1,73 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_core_ui.svg b/docs/images/graphs-kmp/dep_graph_core_ui.svg
new file mode 100644
index 000000000..75145e702
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_core_ui.svg
@@ -0,0 +1,79 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_accounts.svg b/docs/images/graphs-kmp/dep_graph_feature_accounts.svg
new file mode 100644
index 000000000..2264240c5
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_accounts.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_auth.svg b/docs/images/graphs-kmp/dep_graph_feature_auth.svg
new file mode 100644
index 000000000..c0143e0dc
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_auth.svg
@@ -0,0 +1,211 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_editpassword.svg b/docs/images/graphs-kmp/dep_graph_feature_editpassword.svg
new file mode 100644
index 000000000..4dadf0790
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_editpassword.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_faq.svg b/docs/images/graphs-kmp/dep_graph_feature_faq.svg
new file mode 100644
index 000000000..6fe014c4a
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_faq.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_finance.svg b/docs/images/graphs-kmp/dep_graph_feature_finance.svg
new file mode 100644
index 000000000..e6de7b5db
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_finance.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_history.svg b/docs/images/graphs-kmp/dep_graph_feature_history.svg
new file mode 100644
index 000000000..9dbfbf812
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_history.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_home.svg b/docs/images/graphs-kmp/dep_graph_feature_home.svg
new file mode 100644
index 000000000..e1359f771
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_home.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_invoices.svg b/docs/images/graphs-kmp/dep_graph_feature_invoices.svg
new file mode 100644
index 000000000..d6e3ccf46
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_invoices.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_kyc.svg b/docs/images/graphs-kmp/dep_graph_feature_kyc.svg
new file mode 100644
index 000000000..8a94d4ebf
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_kyc.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_make_transfer.svg b/docs/images/graphs-kmp/dep_graph_feature_make_transfer.svg
new file mode 100644
index 000000000..2f0f6d4fd
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_make_transfer.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_merchants.svg b/docs/images/graphs-kmp/dep_graph_feature_merchants.svg
new file mode 100644
index 000000000..8bb3ad2cd
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_merchants.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_notification.svg b/docs/images/graphs-kmp/dep_graph_feature_notification.svg
new file mode 100644
index 000000000..3f8e1ab27
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_notification.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_payments.svg b/docs/images/graphs-kmp/dep_graph_feature_payments.svg
new file mode 100644
index 000000000..e84fe1ff0
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_payments.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_profile.svg b/docs/images/graphs-kmp/dep_graph_feature_profile.svg
new file mode 100644
index 000000000..1d7e6236c
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_profile.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_qr.svg b/docs/images/graphs-kmp/dep_graph_feature_qr.svg
new file mode 100644
index 000000000..a397ee9d6
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_qr.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_receipt.svg b/docs/images/graphs-kmp/dep_graph_feature_receipt.svg
new file mode 100644
index 000000000..1a754672c
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_receipt.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_request_money.svg b/docs/images/graphs-kmp/dep_graph_feature_request_money.svg
new file mode 100644
index 000000000..89c2c8690
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_request_money.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_savedcards.svg b/docs/images/graphs-kmp/dep_graph_feature_savedcards.svg
new file mode 100644
index 000000000..9713b94dd
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_savedcards.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_send_money.svg b/docs/images/graphs-kmp/dep_graph_feature_send_money.svg
new file mode 100644
index 000000000..8924380cc
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_send_money.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_settings.svg b/docs/images/graphs-kmp/dep_graph_feature_settings.svg
new file mode 100644
index 000000000..e69de29bb
diff --git a/docs/images/graphs-kmp/dep_graph_feature_standing_instruction.svg b/docs/images/graphs-kmp/dep_graph_feature_standing_instruction.svg
new file mode 100644
index 000000000..b4374a6e9
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_standing_instruction.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_upi_setup.svg b/docs/images/graphs-kmp/dep_graph_feature_upi_setup.svg
new file mode 100644
index 000000000..bf1f23ab3
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_upi_setup.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_libs_mifos_passcode.svg b/docs/images/graphs-kmp/dep_graph_libs_mifos_passcode.svg
new file mode 100644
index 000000000..061099cf4
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_libs_mifos_passcode.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_mifospay_android.svg b/docs/images/graphs-kmp/dep_graph_mifospay_android.svg
new file mode 100644
index 000000000..165cd20bc
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_mifospay_android.svg
@@ -0,0 +1,937 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_mifospay_desktop.svg b/docs/images/graphs-kmp/dep_graph_mifospay_desktop.svg
new file mode 100644
index 000000000..005006aa5
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_mifospay_desktop.svg
@@ -0,0 +1,949 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_mifospay_shared.svg b/docs/images/graphs-kmp/dep_graph_mifospay_shared.svg
new file mode 100644
index 000000000..2f34abc7e
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_mifospay_shared.svg
@@ -0,0 +1,913 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_mifospay_web.svg b/docs/images/graphs-kmp/dep_graph_mifospay_web.svg
new file mode 100644
index 000000000..e69de29bb
diff --git a/feature/accounts/README.md b/feature/accounts/README.md
index 6f5ce81f6..f97964de4 100644
--- a/feature/accounts/README.md
+++ b/feature/accounts/README.md
@@ -24,3 +24,6 @@
![Screenshot (98)](https://github.com/user-attachments/assets/7eb394a2-a4fe-4b08-8ddc-543b957f59d8)
![Screenshot (99)](https://github.com/user-attachments/assets/a09c7894-4e5b-455f-bd20-decf6032553a)
![Screenshot (100)](https://github.com/user-attachments/assets/0ca4f83c-1b3e-47ed-b9b8-0a5390ca7045)
+# :feature:accounts module
+## Dependency graph
+![Dependency graph](../../docs/images/graphs-kmp/dep_graph_feature_accounts.svg)
diff --git a/feature/auth/README.md b/feature/auth/README.md
index ca1714765..62c151125 100644
--- a/feature/auth/README.md
+++ b/feature/auth/README.md
@@ -1,3 +1,6 @@
# :feature:auth module
## Dependency graph
![Dependency graph](../../docs/images/graphs/dep_graph_feature_auth.svg)
+# :feature:auth module
+## Dependency graph
+![Dependency graph](../../docs/images/graphs-kmp/dep_graph_feature_auth.svg)
diff --git a/feature/editpassword/README.md b/feature/editpassword/README.md
index 6935b2d82..b48e41b5b 100644
--- a/feature/editpassword/README.md
+++ b/feature/editpassword/README.md
@@ -16,3 +16,6 @@ https://github.com/user-attachments/assets/bd667ca1-bd85-4783-95bc-f4567e37011f
![Screenshot (62)](https://github.com/user-attachments/assets/a3bb61e0-b601-4461-b2cd-73f83cd8a4dd)
![Screenshot (63)](https://github.com/user-attachments/assets/c8540d1d-e3fc-42aa-b8f5-f4b31a365861)
![Screenshot (64)](https://github.com/user-attachments/assets/518dc78f-b775-4a1f-957f-0b0f5043277e)
+# :feature:editpassword module
+## Dependency graph
+![Dependency graph](../../docs/images/graphs-kmp/dep_graph_feature_editpassword.svg)
diff --git a/feature/faq/README.md b/feature/faq/README.md
index 26f8bd82d..0badef3a2 100644
--- a/feature/faq/README.md
+++ b/feature/faq/README.md
@@ -13,3 +13,6 @@ https://github.com/user-attachments/assets/303b2ddb-5230-4823-a5d7-5fc640117f7e
![Screenshot (55)](https://github.com/user-attachments/assets/a977e263-f7fb-4662-805a-ebf251a6f927)
![Screenshot (56)](https://github.com/user-attachments/assets/d756ee75-6423-46d3-9fbb-7bae8005ae21)
+# :feature:faq module
+## Dependency graph
+![Dependency graph](../../docs/images/graphs-kmp/dep_graph_feature_faq.svg)
diff --git a/feature/finance/README.md b/feature/finance/README.md
index 807b19e89..3ee7b8c41 100644
--- a/feature/finance/README.md
+++ b/feature/finance/README.md
@@ -15,3 +15,6 @@ https://github.com/user-attachments/assets/efe67e85-875b-4dba-ad25-3e0128ab5743
![Screenshot (87)](https://github.com/user-attachments/assets/d2eb8874-bcc0-4590-a16d-0b6119f7932e)
![Screenshot (88)](https://github.com/user-attachments/assets/bcdec1ce-eae6-46b6-984e-1c65b699783e)
+# :feature:finance module
+## Dependency graph
+![Dependency graph](../../docs/images/graphs-kmp/dep_graph_feature_finance.svg)
diff --git a/feature/history/README.md b/feature/history/README.md
index 19633c97c..6ec5184c8 100644
--- a/feature/history/README.md
+++ b/feature/history/README.md
@@ -18,3 +18,6 @@ https://github.com/user-attachments/assets/8311217d-d3b7-485d-bab3-a525299a3556
![Screenshot (78)](https://github.com/user-attachments/assets/8a90be46-6aca-4af6-9ed1-74c938e1d52d)
![Screenshot (79)](https://github.com/user-attachments/assets/fe385325-2c95-4aed-8bcf-73197745fa64)
![Screenshot (80)](https://github.com/user-attachments/assets/42d7c626-3b3c-44e3-955e-9506f2f16e24)
+# :feature:history module
+## Dependency graph
+![Dependency graph](../../docs/images/graphs-kmp/dep_graph_feature_history.svg)
diff --git a/feature/home/README.md b/feature/home/README.md
index e81e91949..3f504d34e 100644
--- a/feature/home/README.md
+++ b/feature/home/README.md
@@ -17,3 +17,6 @@ https://github.com/user-attachments/assets/32af8978-6bc6-4dff-afc1-2e17215381fc
### Web
![Screenshot (45)](https://github.com/user-attachments/assets/34caac62-2308-40eb-a870-b28d20f8742a)
![Screenshot (46)](https://github.com/user-attachments/assets/9c1ee703-4965-4af4-a269-2d3088926533)
+# :feature:home module
+## Dependency graph
+![Dependency graph](../../docs/images/graphs-kmp/dep_graph_feature_home.svg)
diff --git a/feature/invoices/README.md b/feature/invoices/README.md
index ba38a17d4..4d830a44b 100644
--- a/feature/invoices/README.md
+++ b/feature/invoices/README.md
@@ -14,3 +14,6 @@ https://github.com/user-attachments/assets/10b1923d-a332-40af-a8ed-91d204b64f0c
![Screenshot (103)](https://github.com/user-attachments/assets/e00ccb61-b4a7-49de-a46b-c0613723508f)
![Screenshot (104)](https://github.com/user-attachments/assets/70606ba1-f261-486b-a109-37d7579b0242)
+# :feature:invoices module
+## Dependency graph
+![Dependency graph](../../docs/images/graphs-kmp/dep_graph_feature_invoices.svg)
diff --git a/feature/kyc/README.md b/feature/kyc/README.md
index bef1d7a4c..877990e7b 100644
--- a/feature/kyc/README.md
+++ b/feature/kyc/README.md
@@ -15,3 +15,6 @@ https://github.com/user-attachments/assets/3a445a2d-5a45-432a-b16d-bbd09b8c64f1
![Screenshot (108)](https://github.com/user-attachments/assets/a8818f99-1c55-42bd-9470-aff25946e719)
![Screenshot (109)](https://github.com/user-attachments/assets/c3717888-1a81-401d-8864-f55b821d4106)
![Screenshot (110)](https://github.com/user-attachments/assets/75b1b6c0-0b4f-4f36-b416-cb4e74227802)
+# :feature:kyc module
+## Dependency graph
+![Dependency graph](../../docs/images/graphs-kmp/dep_graph_feature_kyc.svg)
diff --git a/feature/make-transfer/README.md b/feature/make-transfer/README.md
index 272896f5f..27982bc05 100644
--- a/feature/make-transfer/README.md
+++ b/feature/make-transfer/README.md
@@ -16,3 +16,6 @@ https://github.com/user-attachments/assets/d60d7fd4-4eae-42c9-9909-03c06b28824f
![Screenshot (149)](https://github.com/user-attachments/assets/2f55f2eb-4891-4b33-aa20-435e6121f004)
![Screenshot (150)](https://github.com/user-attachments/assets/01fe27cc-4181-4b56-baa4-3e9d16592e2f)
+# :feature:make-transfer module
+## Dependency graph
+![Dependency graph](../../docs/images/graphs-kmp/dep_graph_feature_make_transfer.svg)
diff --git a/feature/merchants/README.md b/feature/merchants/README.md
index e69de29bb..c7455cef4 100644
--- a/feature/merchants/README.md
+++ b/feature/merchants/README.md
@@ -0,0 +1,3 @@
+# :feature:merchants module
+## Dependency graph
+![Dependency graph](../../docs/images/graphs-kmp/dep_graph_feature_merchants.svg)
diff --git a/feature/notification/README.md b/feature/notification/README.md
index 46d1247b4..0c235ac0e 100644
--- a/feature/notification/README.md
+++ b/feature/notification/README.md
@@ -12,3 +12,6 @@ https://github.com/user-attachments/assets/71c99507-2539-4686-af6d-eefefe5fff22
### Web
![Screenshot (111)](https://github.com/user-attachments/assets/7e7e2a6d-c32c-4637-b5c1-501960c5e0b3)
![Screenshot (112)](https://github.com/user-attachments/assets/017ef915-fc95-4283-81e7-157de1cca1a4)
+# :feature:notification module
+## Dependency graph
+![Dependency graph](../../docs/images/graphs-kmp/dep_graph_feature_notification.svg)
diff --git a/feature/payments/README.md b/feature/payments/README.md
index 36b1efeb9..b8ed0b520 100644
--- a/feature/payments/README.md
+++ b/feature/payments/README.md
@@ -14,3 +14,6 @@ https://github.com/user-attachments/assets/4ddbab82-5666-40f1-b7bf-a1878474e05c
![Screenshot (83)](https://github.com/user-attachments/assets/c6986564-bcae-4ad5-ad4d-28c897a3b33d)
![Screenshot (84)](https://github.com/user-attachments/assets/d12f0ca4-9c01-496a-b798-52197caebcf9)
+# :feature:payments module
+## Dependency graph
+![Dependency graph](../../docs/images/graphs-kmp/dep_graph_feature_payments.svg)
diff --git a/feature/profile/README.md b/feature/profile/README.md
index 60816d654..c82f47c5e 100644
--- a/feature/profile/README.md
+++ b/feature/profile/README.md
@@ -16,3 +16,6 @@ https://github.com/user-attachments/assets/8c9f6c34-79d1-4c7e-be46-a58493390542
![Screenshot (70)](https://github.com/user-attachments/assets/88fbbece-690b-45fe-ad57-6ba5b1c7a957)
![Screenshot (71)](https://github.com/user-attachments/assets/46082d05-a14b-466c-966a-8bbbcb773c0f)
![Screenshot (72)](https://github.com/user-attachments/assets/c305e8b7-7d10-4db9-8ae5-84188185850d)
+# :feature:profile module
+## Dependency graph
+![Dependency graph](../../docs/images/graphs-kmp/dep_graph_feature_profile.svg)
diff --git a/feature/qr/README.md b/feature/qr/README.md
index 59c642114..2791496f7 100644
--- a/feature/qr/README.md
+++ b/feature/qr/README.md
@@ -1,4 +1,6 @@
# QR Scan Feature - In Progress
This feature allows users to scan QR codes and perform actions to send payment.
-currently, this feature only available in Android & IoS platform.
\ No newline at end of file
+currently, this feature only available in Android & IoS platform.# :feature:qr module
+## Dependency graph
+![Dependency graph](../../docs/images/graphs-kmp/dep_graph_feature_qr.svg)
diff --git a/feature/receipt/README.md b/feature/receipt/README.md
index 32ce869a9..38c122914 100644
--- a/feature/receipt/README.md
+++ b/feature/receipt/README.md
@@ -176,3 +176,6 @@ And this feature could be merge with `Accounting` feature, to download the trans
]
}
```
+# :feature:receipt module
+## Dependency graph
+![Dependency graph](../../docs/images/graphs-kmp/dep_graph_feature_receipt.svg)
diff --git a/feature/request-money/README.md b/feature/request-money/README.md
index 27df9436d..51859d720 100644
--- a/feature/request-money/README.md
+++ b/feature/request-money/README.md
@@ -4,4 +4,7 @@
```
NSCameraUsageDescription$(PRODUCT_NAME) camera description.
NSPhotoLibraryUsageDescription$(PRODUCT_NAME) photos description.
-```
\ No newline at end of file
+```
+# :feature:request-money module
+## Dependency graph
+![Dependency graph](../../docs/images/graphs-kmp/dep_graph_feature_request_money.svg)
diff --git a/feature/savedcards/README.md b/feature/savedcards/README.md
index d3567a01b..1feaace34 100644
--- a/feature/savedcards/README.md
+++ b/feature/savedcards/README.md
@@ -19,3 +19,6 @@ https://github.com/user-attachments/assets/45079430-7297-462f-8b5b-3ac0162dd633
![Screenshot (123)](https://github.com/user-attachments/assets/fa6eeee4-8dac-4df6-b21a-b6fcbb4d0f2c)
![Screenshot (124)](https://github.com/user-attachments/assets/4fd99539-41c0-4fba-a847-655856198463)
+# :feature:savedcards module
+## Dependency graph
+![Dependency graph](../../docs/images/graphs-kmp/dep_graph_feature_savedcards.svg)
diff --git a/feature/send-money/README.md b/feature/send-money/README.md
index 2fe796f40..4f960c555 100644
--- a/feature/send-money/README.md
+++ b/feature/send-money/README.md
@@ -16,3 +16,6 @@ https://github.com/user-attachments/assets/835a5b4b-00f9-4680-a095-11cb81b160c1
![Screenshot (142)](https://github.com/user-attachments/assets/af00c8b2-22f1-4c16-a2bb-d12316124648)
![Screenshot (143)](https://github.com/user-attachments/assets/fe0b3427-c821-4fd3-a39b-2e3d249c35cf)
+# :feature:send-money module
+## Dependency graph
+![Dependency graph](../../docs/images/graphs-kmp/dep_graph_feature_send_money.svg)
diff --git a/feature/settings/README.md b/feature/settings/README.md
index ad5ececca..b8a1ea2af 100644
--- a/feature/settings/README.md
+++ b/feature/settings/README.md
@@ -16,3 +16,6 @@ https://github.com/user-attachments/assets/d0844712-a176-4cc1-b742-22c0fcbf3696
![Screenshot (52)](https://github.com/user-attachments/assets/1c50bb45-598b-4471-9cb3-04584fef9ac1)
![Screenshot (53)](https://github.com/user-attachments/assets/126053b3-9595-4569-9153-36a5fe5972da)
![Screenshot (54)](https://github.com/user-attachments/assets/0ae8a31b-271a-4833-8ffb-69043b28f6cd)
+# :feature:settings module
+## Dependency graph
+![Dependency graph](../../docs/images/graphs-kmp/dep_graph_feature_settings.svg)
diff --git a/feature/standing-instruction/README.md b/feature/standing-instruction/README.md
index 46f6e4cfc..b32ddaf4e 100644
--- a/feature/standing-instruction/README.md
+++ b/feature/standing-instruction/README.md
@@ -22,3 +22,6 @@ https://github.com/user-attachments/assets/d53d1d69-d60d-42ab-a377-457baf070262
![Screenshot (127)](https://github.com/user-attachments/assets/59d1174c-1dbd-40f7-b83a-0a9c0aa455c4)
![Screenshot (128)](https://github.com/user-attachments/assets/0a763a21-e108-45da-b022-fefc1514d2ba)
+# :feature:standing-instruction module
+## Dependency graph
+![Dependency graph](../../docs/images/graphs-kmp/dep_graph_feature_standing_instruction.svg)
diff --git a/feature/upi-setup/README.md b/feature/upi-setup/README.md
index e69de29bb..41c38b6e6 100644
--- a/feature/upi-setup/README.md
+++ b/feature/upi-setup/README.md
@@ -0,0 +1,3 @@
+# :feature:upi-setup module
+## Dependency graph
+![Dependency graph](../../docs/images/graphs-kmp/dep_graph_feature_upi_setup.svg)
diff --git a/generateModuleGraphs.sh b/generateModuleGraphs.sh
index 9a0c65b2d..571678116 100755
--- a/generateModuleGraphs.sh
+++ b/generateModuleGraphs.sh
@@ -53,7 +53,7 @@ done
module_paths=$(./gradlew -q printModulePaths --no-configuration-cache)
# Ensure the output directory exists
-mkdir -p docs/images/graphs/
+mkdir -p docs/images/graphs-kmp/
# Function to check and create a README.md for modules which don't have one.
check_and_create_readme() {
@@ -67,7 +67,7 @@ check_and_create_readme() {
# Check if README.md exists and create it if not
if [[ ! -f "$readme_path" ]]; then
echo "Creating README.md for ${module_path}"
-
+ fi
# Determine the depth of the module based on the number of colons
local depth=$(awk -F: '{print NF-1}' <<< "${module_path}")
@@ -76,12 +76,11 @@ check_and_create_readme() {
for ((i=1; i<$depth; i++)); do
relative_image_path+="../"
done
- relative_image_path+="docs/images/graphs/${file_name}.svg"
+ relative_image_path+="docs/images/graphs-kmp/${file_name}.svg"
- echo "# ${module_path} module" > "$readme_path"
+ echo "# ${module_path} module" >> "$readme_path"
echo "## Dependency graph" >> "$readme_path"
echo "![Dependency graph](${relative_image_path})" >> "$readme_path"
- fi
}
# Loop through each module path
@@ -101,7 +100,7 @@ echo "$module_paths" | while read -r module_path; do
-Pmodules.graph.of.module="${module_path}" "docs/images/graphs/${file_name}.svg"
+ dot -Tsvg "/tmp/${file_name}.gv" > "docs/images/graphs-kmp/${file_name}.svg"
# Remove the temporary .gv file
rm "/tmp/${file_name}.gv"
fi
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 4d8244ae3..c14ff5498 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -43,7 +43,7 @@ zxingVersion = "3.5.3"
# Utility Dependencies
dependencyGuard = "0.5.0"
-moduleGraph = "2.5.0"
+moduleGraph = "2.7.3"
secrets = "2.0.1"
protobuf = "4.26.0"
protobufPlugin = "0.9.4"
diff --git a/libs/mifos-passcode/README.md b/libs/mifos-passcode/README.md
index 2a35a94b0..ce0d48ac1 100644
--- a/libs/mifos-passcode/README.md
+++ b/libs/mifos-passcode/README.md
@@ -1,3 +1,6 @@
# :feature:passcode module
## Dependency graph
![Dependency graph](../../docs/images/graphs/dep_graph_feature_passcode.svg)
+# :libs:mifos-passcode module
+## Dependency graph
+![Dependency graph](../../docs/images/graphs-kmp/dep_graph_libs_mifos_passcode.svg)
diff --git a/mifospay-android/README.md b/mifospay-android/README.md
index f6a8090e5..7ede3eddc 100644
--- a/mifospay-android/README.md
+++ b/mifospay-android/README.md
@@ -15,4 +15,7 @@ graph LR
:mifospay-android --> :mifospay-shared
:mifospay-android --> :core:data
:mifospay-android --> :core:ui
-```
\ No newline at end of file
+```
+# :mifospay-android module
+## Dependency graph
+![Dependency graph](../docs/images/graphs-kmp/dep_graph_mifospay_android.svg)
diff --git a/mifospay-desktop/README.md b/mifospay-desktop/README.md
index 0d903dd70..c294688b1 100644
--- a/mifospay-desktop/README.md
+++ b/mifospay-desktop/README.md
@@ -19,4 +19,7 @@ graph LR
:mifospay-desktop --> :core:model
:mifospay-desktop --> :core:datastore
:mifospay-desktop --> :mifospay-shared
-```
\ No newline at end of file
+```
+# :mifospay-desktop module
+## Dependency graph
+![Dependency graph](../docs/images/graphs-kmp/dep_graph_mifospay_desktop.svg)
diff --git a/mifospay-shared/README.md b/mifospay-shared/README.md
index b894b78ee..cc2be7477 100644
--- a/mifospay-shared/README.md
+++ b/mifospay-shared/README.md
@@ -70,4 +70,7 @@ graph LR
:mifospay-shared --> :feature:qr
:mifospay-shared --> :feature:merchants
:mifospay-shared --> :feature:upi-setup
-```
\ No newline at end of file
+```
+# :mifospay-shared module
+## Dependency graph
+![Dependency graph](../docs/images/graphs-kmp/dep_graph_mifospay_shared.svg)
diff --git a/mifospay-web/README.md b/mifospay-web/README.md
index 5c97cee45..38520e239 100644
--- a/mifospay-web/README.md
+++ b/mifospay-web/README.md
@@ -19,4 +19,7 @@ graph LR
:mifospay-web --> :core:data
:mifospay-web --> :core:model
:mifospay-web --> :core:datastore
-```
\ No newline at end of file
+```
+# :mifospay-web module
+## Dependency graph
+![Dependency graph](../docs/images/graphs-kmp/dep_graph_mifospay_web.svg)