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
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue