diff --git a/README.md b/README.md index 3b8238d..be4b790 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ I have since switch to using C for better performance and control. ## Pics -Node on WIP: +Node 1 WIP: ![node 1 opened up on kitchen table](https://images.travisshears.com/eyJidWNrZXQiOiJ0cmF2aXNzaGVhcnMuaW1hZ2VzIiwia2V5IjoicTJtdXpiZmJlMHByd3RxLzJjZmZ6bjloZXp6Zjg2YS9pbWFnZV9pMXhiZGxzdXhyLnBuZyIsImVkaXRzIjp7InJlc2l6ZSI6eyJ3aWR0aCI6OTAwLCJoZWlnaHQiOjkwMCwiZml0IjoiaW5zaWRlIn19fQ==) diff --git a/diagrams/index.ts b/diagrams/index.ts index 87e1780..b9b04a0 100644 --- a/diagrams/index.ts +++ b/diagrams/index.ts @@ -6,6 +6,7 @@ const renderMode = args.includes("--ascii") ? "ascii" : "normal"; const diagram = ` flowchart TD + classDef todo opacity:0.5 subgraph Node1 bme280 -->|i2c| mc1[pico w] pms5003 -->|uart| mc1 @@ -24,9 +25,19 @@ flowchart TD mc3[pico w] -->|Custom TCP| proxy subgraph Node3 - ltr-559 --> mc3 - end`; + light[ltr-559] --> mc3 + end + class Node2 todo + class Node3 todo + class wind_dir todo + class wind_speed todo + class mc2 todo + class mc3 todo + class rain todo + class mic todo + class light todo + `; if (renderMode === "ascii") { console.log(renderMermaidAscii(diagram)); } else {