-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #144 from aeag/docs/add-how-LMFP-behaves-during-qg…
…is-startup Docs: add how LMFP behaves during QGIS startup
- Loading branch information
Showing
5 changed files
with
40 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# How does it work? | ||
|
||
```{mermaid} | ||
--- | ||
title: "How Layers Menu From Project behaves during QGIS launch" | ||
--- | ||
flowchart TD | ||
A@{ shape: circle, label: "QGIS starts" } -->|splash screen displayed| B(load GUI and plugins) | ||
subgraph "QGIS UI main thread" | ||
B -->|GUI is initialized| C@{ shape: curv-trap, label: "QGIS main UI displayed" } | ||
C ==> Q((("QGIS is mainly usable"))) | ||
end | ||
subgraph "LMFP thread (QgsTask)" | ||
C -.->|threaded LMFP| D[[read projects configuration]] | ||
D -.-> E[[check project's cache]] | ||
E -.->|cache still valid| F(create menus from caches JSON files) | ||
F == menus appear in the main UI ==> Q | ||
E -.->|cache has expired or is invalid| G(download/copy remote files) | ||
G -.->|store cache|H("{path_to_qgis_profile}/cache/menu_from_project") | ||
H --> F | ||
end | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ furo>=2024 | |
myst-parser[linkify]>=2 | ||
sphinx-autobuild>=2024 | ||
sphinx-copybutton>=0.5 | ||
sphinxcontrib-mermaid>=1,<2 |