Commit 60b9440f authored by Éloïs's avatar Éloïs

Update architecture.md

parent 96aaa862
......@@ -4,6 +4,8 @@ Date: 2018-03-29
Slug: architecture
Authors: elois
Duniter-Rust est composé de 12 crates dont 8 sont des bibliothèques, 13 des modules, et 1 la crate englobant le coeur.
## Organisation en modules
::uml::
......@@ -14,52 +16,70 @@ title Architecture Generale
package "Libraries" {
[crypto]
[conf]
[wotb]
[documents]
[module]
[conf]
[network]
[wotb]
[dal]
[message]
}
package "Main" {
[conf] ---> [load_conf]
[module] ---> [create_channels]
[module] ---> [init_modules]
[start_services]
[pass_hand_to_common]
}
package "CriticalModules" {
[start_services] ---> [cli]
[start_services] ---> [ws2p]
}
package "Common" {
[pass_hand_to_common] ---> [common]
[dal] ---> [instance_dal]
[ws2p] ---> [listen_network_events]
[listen_dal_requests]
package "Core" {
[crypto] ---> [blockchain]
[wotb] ---> [blockchain]
[documents] ---> [blockchain]
[module] ---> [blockchain]
[conf] ---> [blockchain]
[network] ---> [blockchain]
[dal] ---> [blockchain]
[message] ---> [blockchain]
[blockchain] ---> [core]
[crypto] ---> [core]
[module] ---> [core]
[conf] ---> [core]
[message] ---> [core]
}
package "DefaultModules" {
[start_services] ---> [prover]
[start_services] ---> [ui]
package "Gva" {
[start_services] ---> [gva]
[ws2p] ---> [gva_listen_network_events]
[common] ---> [gva_listen_blockchain_events]
}
[crypto] ---> [ws2p]
[wotb] ---> [ws2p]
[documents] ---> [ws2p]
[module] ---> [ws2p]
[conf] ---> [ws2p]
[network] ---> [ws2p]
[dal] ---> [ws2p]
[message] ---> [ws2p]
[crypto] ---> [tui]
[documents] ---> [tui]
[module] ---> [tui]
[conf] ---> [tui]
[network] ---> [tui]
[dal] ---> [tui]
[message] ---> [tui]
}
package "OptionalModules" {
package "Dasa" {
[start_services] ---> [dasa]
[ws2p] ---> [dasa_listen_network_events]
[common] ---> [dasa_listen_blockchain_events]
[crypto] ---> [dasa]
[wotb] ---> [dasa]
[documents] ---> [dasa]
[module] ---> [dasa]
[conf] ---> [dasa]
[network] ---> [dasa]
[dal] ---> [dasa]
[message] ---> [dasa]
}
}
package "Main" {
[core] ---> [main]
[tui] ---> [main]
[ws2p] ---> [main]
[dasa] ---> [main]
}
@enduml
::end-uml::
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment