powersync-docs/schemas/symbols/block-template.svg
Patrick Schurig 66aa71c990
All checks were successful
Build & Deploy docs / build-deploy (push) Successful in 2m49s
mise a jour
2026-06-06 09:51:43 +02:00

27 lines
2.0 KiB
XML

<svg viewBox="0 0 140 110" xmlns="http://www.w3.org/2000/svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:etm="https://etm-powersync.fr/ns/schema">
<!-- GABARIT BLOC ETM : viewBox = corps + pattes(8px). Pastilles au bord, corps en retrait. -->
<!-- type du composant a renseigner : -->
<metadata><etm:component type="" fabricant="" ref="" commande=""/></metadata>
<!-- CORPS (insere de 8px sur les bords a ports) -->
<rect x="8" y="8" width="124" height="94" rx="6" fill="#fff" stroke="#31a3dd" stroke-width="1.6"/>
<text x="70" y="58" text-anchor="middle" font-family="'IBM Plex Mono',monospace" font-size="11" font-weight="700" fill="#0d2b3b">BLOC</text>
<!-- PORTS PUISSANCE haut/bas, entraxe DC 34px (centre 70 -> 53 / 87) -->
<line x1="36" y1="8" x2="36" y2="0" stroke="#0d2b3b" stroke-width="1.2"/><circle cx="36" cy="0" r="2.6" fill="#0d2b3b" inkscape:label="term:IN1"/>
<line x1="104" y1="8" x2="104" y2="0" stroke="#0d2b3b" stroke-width="1.2"/><circle cx="104" cy="0" r="2.6" fill="#0d2b3b" inkscape:label="term:IN2"/>
<line x1="70" y1="102" x2="70" y2="110" stroke="#0d2b3b" stroke-width="1.2"/><circle cx="70" cy="110" r="2.6" fill="#0d2b3b" inkscape:label="term:OUT"/>
<!-- PORT COMMS exemple a gauche (couleur = type de signal) -->
<line x1="8" y1="40" x2="0" y2="40" stroke="#e69500" stroke-width="1.2"/><circle cx="0" cy="40" r="2.6" fill="#e69500" inkscape:label="term:BUS"/>
<!-- PORT PE exemple a droite -->
<line x1="132" y1="80" x2="140" y2="80" stroke="#00ff00" stroke-width="1.2"/><circle cx="140" cy="80" r="2.6" fill="#00ff00" inkscape:label="term:PE"/>
<!-- ZONES TEXTE injectables -->
<text x="130" y="20" text-anchor="end" font-family="'IBM Plex Mono',monospace" font-size="8" font-weight="700" fill="#0d2b3b" inkscape:label="lbl:repere"></text>
<text x="70" y="76" text-anchor="middle" font-family="'IBM Plex Mono',monospace" font-size="8" fill="#31a3dd" inkscape:label="lbl:puissance"></text>
</svg>