Update the graph in the doc.
This commit is contained in:
parent
ad6a2e9595
commit
f97a213b09
1 changed files with 39 additions and 3 deletions
|
|
@ -181,10 +181,46 @@ A few details about some modules:
|
||||||
Most of the time a feature module should not know anything about other feature module.
|
Most of the time a feature module should not know anything about other feature module.
|
||||||
The navigation glue is currently done in the `app` module.
|
The navigation glue is currently done in the `app` module.
|
||||||
|
|
||||||
Here is the current module dependency graph:
|
Here is the current simplified module dependency graph:
|
||||||
|
|
||||||
<!-- To update this graph, run `./tools/docs/generateModuleGraph.sh` (one day the CI will do it hopefully). -->
|
<!-- Note: a full graph can be generated using `./tools/docs/generateModuleGraph.sh`. -->
|
||||||
<img src=./images/module_graph.png width=800 />
|
<!-- Note: doc can be found at https://mermaid.js.org/syntax/flowchart.html#graph -->
|
||||||
|
```mermaid
|
||||||
|
flowchart TD
|
||||||
|
subgraph Application
|
||||||
|
app([:app])--implementation-->appnav([:appnav])
|
||||||
|
end
|
||||||
|
subgraph Features
|
||||||
|
featureapi([:features:*:api])
|
||||||
|
featureimpl([:features:*:impl])
|
||||||
|
end
|
||||||
|
subgraph Libraries
|
||||||
|
subgraph Matrix
|
||||||
|
matrixapi([:matrix:api])
|
||||||
|
matriximpl([:matrix:impl])
|
||||||
|
end
|
||||||
|
libraryarch([:libraries:architecture])
|
||||||
|
libraryapi([:libraries:*:api])
|
||||||
|
libraryimpl([:libraries:*:impl])
|
||||||
|
end
|
||||||
|
subgraph Matrix RustSdk
|
||||||
|
RustSdk([Rust Sdk])
|
||||||
|
end
|
||||||
|
|
||||||
|
app--implementation-->featureimpl
|
||||||
|
app--implementation-->libraryimpl
|
||||||
|
appnav--implementation-->featureapi
|
||||||
|
appnav--implementation-->libraryarch
|
||||||
|
featureimpl--api-->featureapi
|
||||||
|
featureimpl--implementation-->matrixapi
|
||||||
|
featureimpl--implementation-->libraryapi
|
||||||
|
featureimpl--implementation-->libraryarch
|
||||||
|
matriximpl--implementation-->matrixapi
|
||||||
|
matrixapi--api-->RustSdk
|
||||||
|
matriximpl--api-->RustSdk
|
||||||
|
featureapi--implementation-->libraryarch
|
||||||
|
libraryimpl--api-->libraryapi
|
||||||
|
```
|
||||||
|
|
||||||
### Application
|
### Application
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue