murph-doc/docs/tree/index.md

50 lines
751 B
Markdown
Raw Normal View History

2021-05-30 23:00:08 +02:00
# Tree manager
Murph manages contents this way:
* You define navigations
* For each navigation, you define menus
2021-05-31 19:52:39 +02:00
* For each menu, you define nodes (elements)
* and for each node, you define:
2021-05-30 23:00:08 +02:00
- an optional page
- the routing
- some attributes
- a sitemap configuration
2023-07-29 00:32:49 +02:00
## Diagram
``` mermaid
%%{
init: {
"theme": "dark",
"flowchart": {
"curve": "cardinal"
}
}
}%%
graph TB
N1[Navigation 1] --> M1[Menu 1];
N2[Navigation ...];
2023-07-29 00:50:30 +02:00
NX[Navigation N];
2023-07-29 00:32:49 +02:00
N1 --> M2[Menu ...];
2023-07-29 00:50:30 +02:00
N1 --> MX[Menu N];
2023-07-29 00:32:49 +02:00
2023-07-29 00:46:12 +02:00
N2 --> L1[...]
NX --> L2[...]
2023-07-29 00:32:49 +02:00
M1 --> MN1[Node 1]
M1 --> MN2[Node ...]
2023-07-29 00:50:30 +02:00
M1 --> MN3[Node N]
M2 --> L3[...]
MX --> L4[...]
2023-07-29 00:32:49 +02:00
MN1 --> P1[Page]
P1 --> B1[Block 1]
2023-07-29 00:43:16 +02:00
P1 --> B2[Block ...]
2023-07-29 00:50:30 +02:00
P1 --> BN[Block N]
2023-07-29 00:32:49 +02:00
```