Bertrand Florat Tech articles Others articles Projects Cours et papiers CV Contact

Make great architecture diagrams with C4 and Plantuml (2/2)

. Is narrow-scoped only to a given 




Best practices (voir cours)

numbering

use characters
⌨ r


- min constraints
- Use Lay_Distance(x,y,) à l'intérrieur d'une zone
- Eviter les Lay_U...
- Utiliser des sprites
skinparam linetype poluline

infra:
https://c4model.com/#DeploymentDiagram

https://sarafian.github.io/tips/2021/03/11/plantuml-tips-tricks-1.html


    adding hidden lines a -[hidden]- b
    extending the length of a line a --- b (more dashes, longer line)
    specifying preferred direction of lines (a -left- b)
    swapping association ends (a -- b → b -- a)
    changing the order of definitions (the order does matter... sometimes)
    adding empty nodes with background/border colors set to Transparent
https://crashedmind.github.io/PlantUMLHitchhikersGuide/index.html

https://crashedmind.github.io/plantuml.github.io/

a -[norank]-> b

Rempalcer x fleches par une seule de niveau VM

Le - de Lay , custom, de temps en temps, tenter sans

lignes de couleurs/pleine/dashed..

BackendClient -[hidden]- Logging

AddRelTag("backup", $textColor="orange", $lineColor="orange", $lineStyle = DashedLine())


Separation static/dynamic + imports

1) jouer sur le layout
LAYOUT_LEFT_RIGHT()

2) Jouer sur les Rel_U...
'vers api et queues
Rel_U(rece_requetehubee_batch, api_hubee, "HTTPS")

Une seule modif à la fois

numeroter les liens