mermaid the architecture

This commit is contained in:
Gabriel Radureau
2025-10-11 17:12:07 +02:00
parent e0c117f546
commit d20f00f7ac
3 changed files with 53 additions and 5 deletions

View File

@@ -27,6 +27,54 @@ un programme se déclenche pour synchroniser son contenu avec le dossier de sort
1. Mac
2. Une carte SD nommée SD_DANSE formatée en `MS-DOS (FAT32)` pour un meilleur support des projecteurs
## [Déclencher au téléchargement](./doc/01.OnAirdropDownload.md)
## [Surveillance des répertoires](./doc/01.SurveillerRepertoire.md)
- `./trigger/trigger.sh`
- `./trigger/trigger.sh`
## Architecture
```mermaid
---
config:
logLevel: debug
theme: forest
layout: elk
---
flowchart TB
subgraph s1["~/Documents/.DanceVideos/"]
raw[".DanceVideos/<b>raw</b><br><br><i>00_00.mov, xxxxxx_xxxx_xxxx_xxxx.mp4, ScreenRecordingaaaa-mm-dd_hh-mm-ss.mp4</i>"]
playlists[".DanceVideos/<b>playlists</b><br><br><i>directories of symbolic links to the videos</i>"]
videos[".DanceVideos/<b>videos</b><br><br><i>/aaaammdd_hhmmss/<br>video.mp4 videoRotated.mp4 thumbnail.jpeg</i>"]
pgrm1["program1"]
bdd["db.sqlite"]
pgrm2["program2"]
end
ios["<b>Iphone</b>"] L_ios_dll_0@-. air drop .-> dll["~/Downloads/"]
playlists L_playlists_SD_0@== "onSD_DANSEMount.sh" ==> SD["<b>SD card</b>"]
dll L_dll_raw_0@== "onAirDropDownload.sh" ==> raw
raw L_raw_pgrm1_0@=== pgrm1
pgrm1 L_pgrm1_videos_0@== ffmpeg ==> videos
pgrm1 -- register videos --> bdd
app["DanceVideos App"] -- classify, register playlists --> bdd
pgrm2 -- convert playlists to directories of symlink --> playlists
pgrm2 --- bdd
videos L_videos_playlists_0@-.- playlists
raw@{ shape: docs}
playlists@{ shape: docs}
videos@{ shape: docs}
pgrm1@{ shape: text}
bdd@{ shape: db}
pgrm2@{ shape: text}
ios@{ shape: rect}
dll@{ shape: docs}
SD@{ shape: das}
app@{ shape: rect}
linkStyle 0 stroke:#D50000,fill:none
linkStyle 1 stroke:#D50000,fill:none
L_ios_dll_0@{ animation: fast }
L_playlists_SD_0@{ animation: slow }
L_dll_raw_0@{ animation: fast }
L_raw_pgrm1_0@{ animation: slow }
L_pgrm1_videos_0@{ animation: slow }
L_videos_playlists_0@{ animation: fast }
```