grey out todo parts in arch diagram
This commit is contained in:
parent
f5e8860c5a
commit
3a9b3d3534
2 changed files with 14 additions and 3 deletions
|
|
@ -24,7 +24,7 @@ I have since switch to using C for better performance and control.
|
||||||
|
|
||||||
## Pics
|
## Pics
|
||||||
|
|
||||||
Node on WIP:
|
Node 1 WIP:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ const renderMode = args.includes("--ascii") ? "ascii" : "normal";
|
||||||
|
|
||||||
const diagram = `
|
const diagram = `
|
||||||
flowchart TD
|
flowchart TD
|
||||||
|
classDef todo opacity:0.5
|
||||||
subgraph Node1
|
subgraph Node1
|
||||||
bme280 -->|i2c| mc1[pico w]
|
bme280 -->|i2c| mc1[pico w]
|
||||||
pms5003 -->|uart| mc1
|
pms5003 -->|uart| mc1
|
||||||
|
|
@ -24,9 +25,19 @@ flowchart TD
|
||||||
|
|
||||||
mc3[pico w] -->|Custom TCP| proxy
|
mc3[pico w] -->|Custom TCP| proxy
|
||||||
subgraph Node3
|
subgraph Node3
|
||||||
ltr-559 --> mc3
|
light[ltr-559] --> mc3
|
||||||
end`;
|
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") {
|
if (renderMode === "ascii") {
|
||||||
console.log(renderMermaidAscii(diagram));
|
console.log(renderMermaidAscii(diagram));
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue