diff --git a/components/GrapheConnaissances.vue b/components/GrapheConnaissances.vue
index 46dd420..eabc4b4 100644
--- a/components/GrapheConnaissances.vue
+++ b/components/GrapheConnaissances.vue
@@ -83,10 +83,13 @@
@click="pas = o.v"
>{{ o.libelle }}
-
- source
- curation
-
+
+
+ - Concept
+ - Source (texte, organisation)
+ - Énoncé par la source
+ - Posé par AEP
+
@@ -127,8 +130,8 @@ const OPTIONS_PAS: { v: Pas; libelle: string }[] = [
{ v: 'tout', libelle: 'tout' },
]
const DUREE = 600 // recadrage : ≤ 700 ms, puis immobile
-const MARGE = { haut: 52, bas: 44, gauche: 96, droite: 96 }
-const MARGE_TEL = { haut: 52, bas: 84, gauche: 64, droite: 64 } // < 768 : le pied de la vue fiches couvre le bas ; les libellés sont tenus dans le cadre par la borne de `ecran`
+const MARGE = { haut: 52, bas: 88, gauche: 96, droite: 96 } // bas : la légende (une ligne) et le libellé du dernier nœud, qui pend sous son rond
+const MARGE_TEL = { haut: 52, bas: 116, gauche: 64, droite: 64 } // < 768 : la légende tient sur deux lignes en bas ; les libellés sont tenus dans le cadre par la borne de `ecran`
// ── Taille mesurée (le rendu serveur part d'une taille plausible, comme GrapheMots) ──
const racine = ref(null)
@@ -444,21 +447,31 @@ const liensVus = computed(() => props.liens
.gc__pas[aria-pressed='true'] { background: var(--text); color: var(--surface); }
.gc__pas:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
+/* Légende : une ligne en bas du graphe (deux au téléphone), hors de la poignée et de la barre des pas */
.gc__legende {
position: absolute;
- top: var(--space-xs);
- right: var(--space-sm);
+ left: var(--space-lg);
+ bottom: var(--space-xs);
+ max-width: calc(100% - var(--space-lg) - var(--space-sm));
margin: 0;
+ padding: var(--space-2xs) var(--space-xs);
+ list-style: none;
display: flex;
+ flex-wrap: wrap;
align-items: center;
- gap: 6px;
- font-size: 11px;
+ gap: var(--space-2xs) var(--space-sm);
+ border-radius: var(--radius-sm);
+ background: color-mix(in srgb, var(--bg-alt) 88%, transparent);
+ font-size: var(--fs-xs);
+ line-height: 1.3;
color: color-mix(in srgb, var(--text) 78%, transparent);
pointer-events: none;
}
-.gc__legende-trait { display: inline-block; width: 18px; border-top: 1.5px solid currentColor; margin-left: 6px; }
+.gc__legende li { display: inline-flex; align-items: center; gap: var(--space-2xs); }
+.gc__legende-rond { width: 10px; height: 10px; border-radius: var(--radius-full); border: 2px solid var(--text); background: var(--surface); }
+.gc__legende-carre { width: 9px; height: 9px; border-radius: 2px; background: color-mix(in srgb, var(--text) 52%, var(--bg-alt)); }
+.gc__legende-trait { width: 18px; border-top: 1.5px solid currentColor; }
.gc__legende-trait--curation { border-top-style: dashed; }
-@media (max-width: 639.98px) { .gc__legende { display: none; } }
@media (max-width: 767.98px) {
.gc__noeud { max-width: 8rem; }
}