diff options
Diffstat (limited to 'day-8/script.ts')
-rw-r--r-- | day-8/script.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/day-8/script.ts b/day-8/script.ts index d2869b9..7a72b71 100644 --- a/day-8/script.ts +++ b/day-8/script.ts @@ -68,6 +68,9 @@ terminalNodes.forEach((node) => { }); nodes.forEach((node) => { fs.appendFileSync(dotFile, ` ${node.name} -> ${nodes[node.left].name};\n`); - fs.appendFileSync(dotFile, ` ${node.name} -> ${nodes[node.right].name};\n`); + fs.appendFileSync( + dotFile, + ` ${node.name} -> ${nodes[node.right].name} [color=blue];\n`, + ); }); fs.appendFileSync(dotFile, "}\n"); |