From e6d1e5db7f19f551cdf6203f81dfb9082fb16f73 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 9 Dec 2024 19:47:51 +0100 Subject: [PATCH] css --- build.py | 9 +++++++-- index.gv | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+), 2 deletions(-) diff --git a/build.py b/build.py index 2e1bc0d..6d72966 100755 --- a/build.py +++ b/build.py @@ -14,13 +14,18 @@ if __name__ == "__main__": make_directory(out) run("dot", str(gv), "-Tsvg", "-o", str(svg)) text = read_file_text(svg) + write(out / "index.css", """\ +html { +background-color: #202020; +} +""") write(out / "index.html", f"""\ - -to.rwx.work + +todo.rwx.work diff --git a/index.gv b/index.gv index c019cbf..15810ed 100644 --- a/index.gv +++ b/index.gv @@ -1,4 +1,29 @@ digraph "index" { + bgcolor="transparent" + color="#C0C000" + fontcolor="#FF8000" + fontname="DejaVu Sans" + penwidth="2" + # rankdir="RL" + +edge [ + color="#FF4040" + fontcolor="#FF4040" + fontname="DejaVu Sans" + style="filled" +] + +node [ + color="#C0C0C0" + fontcolor="#FFFFFF" + fontname="DejaVu Sans" + penwidth="2" + style="filled" +] + +{rank="max" +"" [style="invis"] +} subgraph "cluster/dev" { label="Dev" "plan" [label="Plan"] @@ -7,6 +32,11 @@ subgraph "cluster/dev" { label="Dev" "test" [label="Test"] } +"plan" -> "code" -> "build" -> "test" -> { + "plan" + "release" +} + subgraph "cluster/ops" { label="Ops" "release" [label="Release"] "deploy" [label="Deploy"] @@ -14,4 +44,12 @@ subgraph "cluster/ops" { label="Ops" "monitor" [label="Monitor"] } +"release" -> "deploy" -> "operate" -> "monitor" -> { + "deploy" + "plan" +} + +"one" +"two" + }