murph-doc/docs/tree/index.md
Simon Vieille 008db638b2
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
add diagram
2023-07-29 00:50:30 +02:00

50 lines
751 B
Markdown

# Tree manager
Murph manages contents this way:
* You define navigations
* For each navigation, you define menus
* For each menu, you define nodes (elements)
* and for each node, you define:
- an optional page
- the routing
- some attributes
- a sitemap configuration
## Diagram
``` mermaid
%%{
init: {
"theme": "dark",
"flowchart": {
"curve": "cardinal"
}
}
}%%
graph TB
N1[Navigation 1] --> M1[Menu 1];
N2[Navigation ...];
NX[Navigation N];
N1 --> M2[Menu ...];
N1 --> MX[Menu N];
N2 --> L1[...]
NX --> L2[...]
M1 --> MN1[Node 1]
M1 --> MN2[Node ...]
M1 --> MN3[Node N]
M2 --> L3[...]
MX --> L4[...]
MN1 --> P1[Page]
P1 --> B1[Block 1]
P1 --> B2[Block ...]
P1 --> BN[Block N]
```