Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benoitguigal/773d512320d434f5c257c9aa3b2eae53 to your computer and use it in GitHub Desktop.
Save benoitguigal/773d512320d434f5c257c9aa3b2eae53 to your computer and use it in GitHub Desktop.
<script src="https://unpkg.com/mermaid@8.0.0/dist/mermaid.min.js"></script>
<script>mermaid.initialize({startOnLoad:true});</script>
Le diagramme ci dessous retrace le cycle de vie d'un BSD dans Trackdéchets:
<div class="mermaid">
graph TD
subgraph Préparation du BSD
a1(Création d'un BSD) --> b0
subgraph Informations émetteur
b0{Case 1} --> b1
b1(Ajout d'un numéro bis ? ) -->|N| b2(Ajout d'un éco-organisme ?)
style b1 fill:#f1c40f
style b2 fill:#f1c40f
b1 -.->|O| b11(J'ajoute un numéro bis)
b11 -.-> b2
b2 -->|N| b3(Je choisis le type de producteur)
b2 -.->|O| b21(J'ajoute un EO en choissant dans la liste)
b21 -.->|autocomplétion| b22(type producteur = autre détenteur)
b22 -.-> b4
b3 --> b4("Je complète les infos entreprise (siret, nom, adresse, email)")
b4 --> b5(Ajout d'une adresse chantier de collecte?)
style b5 fill:#f1c40f
b5 -.->|O| b51(Je complète les infos de l'adresse chantier)
b5 -->|N| b99
b51 -.-> b99{Fin case 1}
end
b99 --> c0
subgraph Case 2,3,4,5,6
c0{Début case 2,3,4,5,6} --> c1
c1(Entreposage provisoire ou reconditionnement prévu ?) -->|N| c2(Je complète les infos déchets)
style c1 fill:#f1c40f
c1 -.->|O| c11(Je complète les infos de l'entreprise d'entreposage)
c11 -.-> c2
c2 --> c3(Je complète les mentions ADR)
c3 --> c4(Je complète le conditionnement)
c4 --> c5(Je complète la quantité)
c5 --> c6(Il y a-t-il un négociant ?)
end
end
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment