TVL depot development (mail to depot@tvl.su)
 help / color / mirror / code / Atom feed
From: lukegb@hg•lukegb.com
To: depot@tazj.in
Cc: Luke Granger-Brown <git@lukegb•com>
Subject: [PATCH] refactor(web/tvl): factor out common styles
Date: Mon, 11 May 2020 00:45:09 +0100	[thread overview]
Message-ID: <20200510234509.30969-1-lukegb@hg.lukegb.com> (raw)

From: Luke Granger-Brown <git@lukegb•com>

---
 web/tvl/tvl.dot | 94 +++++++++++++++++++++++++++----------------------
 1 file changed, 51 insertions(+), 43 deletions(-)

diff --git a/web/tvl/tvl.dot b/web/tvl/tvl.dot
index ee31fc3..45ffd92 100644
--- a/web/tvl/tvl.dot
+++ b/web/tvl/tvl.dot
@@ -52,18 +52,22 @@ digraph tvl {
   yuuko;
 
   // companies (blue)
-  spotify [color="#4285f4" fontcolor="#4285f4" href="https://www.spotify.com/"];
-  google [color="#4285f4" fontcolor="#4285f4" href="https://www.google.com/"];
+  node [color="#4285f4" fontcolor="#4285f4"];
+  spotify [href="https://www.spotify.com/"];
+  google [href="https://www.google.com/"];
 
   // communities? (red)
-  eve [color="#DB4437" fontcolor="#DB4437" href="https://www.eveonline.com/"];
-  nix [color="#DB4437" fontcolor="#DB4437" href="https://nixos.org/nix/"];
-  ircv3 [color="#DB4437" fontcolor="#DB4437" href="https://ircv3.net/"];
-  lgbtslack [label="lgbt.tech" color="#DB4437" fontcolor="#DB4437" href="https://lgbtq.technology/"];
-  muccc [label="µccc" color="#DB4437" fontcolor="#DB4437" href="https://muc.ccc.de/"];
-  hswaw [label="hswaw" color="#DB4437" fontcolor="#DB4437" href="https://hackerspace.pl/"];
-  unspecific [color="grey" fontcolor="grey"];
+  node [color="#db4437" fontcolor="#db4437"];
+  eve [href="https://www.eveonline.com/"];
+  nix [href="https://nixos.org/nix/"];
+  ircv3 [href="https://ircv3.net/"];
+  lgbtslack [label="lgbt.tech" href="https://lgbtq.technology/"];
+  muccc [label="µccc" href="https://muc.ccc.de/"];
+  hswaw [href="https://hackerspace.pl/"];
+
+  // special
   baby [color="pink" fontcolor="pink" href="https://cynthia.re/s/baby"];
+  unspecific [color="grey" fontcolor="grey"];
 
   // primary edges (how did they end up in TVL?)
 
@@ -127,48 +131,52 @@ digraph tvl {
   hyperfekt -> espes;
 
   // secondary edges (how are they connected otherwise?)
+  edge [weight=0 style="dotted" color="grey" arrowhead="none"];
 
   // lgbt slack
-  aurora -> lgbtslack [weight=0 style="dotted" color="grey" arrowhead="none"];
-  leah2 -> lgbtslack  [weight=0 style="dotted" color="grey" arrowhead="none"];
-  edef -> lgbtslack  [weight=0 style="dotted" color="grey" arrowhead="none"];
-  artemist -> lgbtslack  [weight=0 style="dotted" color="grey" arrowhead="none"];
+  aurora -> lgbtslack;
+  leah2 -> lgbtslack;
+  edef -> lgbtslack;
+  artemist -> lgbtslack;
 
   // ircv3
-  multi -> ircv3  [weight=0 style="dotted" color="grey" arrowhead="none"];
-  eta -> ircv3  [weight=0 style="dotted" color="grey" arrowhead="none"];
-  firefly -> ircv3  [weight=0 style="dotted" color="grey" arrowhead="none"];
+  multi -> ircv3;
+  eta -> ircv3;
+  firefly -> ircv3;
 
   // µccc
-  leah2 -> muccc [weight=0 style="dotted" color="grey" arrowhead="none"];
-  hexchen -> muccc [weight=0 style="dotted" color="grey" arrowhead="none"];
-  q3k -> muccc [weight=0 style="dotted" color="grey" arrowhead="none"];
+  leah2 -> muccc;
+  hexchen -> muccc;
+  q3k -> muccc;
 
   // hswaw
-  implr -> hswaw [weight=0 style="dotted" color="grey" arrowhead="none"];
-  q3k -> hswaw [weight=0 style="dotted" color="grey" arrowhead="none"];
+  implr -> hswaw;
+  q3k -> hswaw;
 
   // random
-  leah2 -> edef  [weight=0 style="dotted" color="grey" arrowhead="none"];
-  lukegb -> isomer  [weight=0 style="dotted" color="grey" arrowhead="none"];
-  eta -> multi  [weight=0 style="dotted" color="grey" arrowhead="none"];
-  eta -> firefly  [weight=0 style="dotted" color="grey" arrowhead="none"];
-  cynthia -> firefly [weight=0 style="dotted" color="grey" arrowhead="none"];
-  cynthia -> lukegb [weight=0 style="dotted" color="grey" arrowhead="none"];
-  kanepyork -> google [weight=0 style="dotted" color="grey" arrowhead="none"];
-  lukegb -> benjojo [weight=0 style="dotted" color="grey" arrowhead="none"];
-  multi -> benjojo [weight=0 style="dotted" color="grey" arrowhead="none"];
-  espes -> benjojo [weight=0 style="dotted" color="grey" arrowhead="none"];
-  espes -> aurora [weight=0 style="dotted" color="grey" arrowhead="none"];
-  puck -> nix [weight=0 style="dotted" color="grey" arrowhead="none"];
-  qyliss -> nix [weight=0 style="dotted" color="grey" arrowhead="none"];
-  glittershark -> nix [weight=0 style="dotted" color="grey" arrowhead="none"];
-  edef -> nix [weight=0 style="dotted" color="grey" arrowhead="none"];
-  cynthia -> baby [weight=0 style="dotted" arrowhead="none" color="pink"];
-  eta -> baby [weight=0 style="dotted" arrowhead="none" color="pink"];
-  Q -> baby [weight=0 style="dotted" arrowhead="none" color="pink"];
-  aranea -> nix [weight=0 style="dotted" color="grey" arrowhead="none"];
-  aranea -> profpatsch [weight=0 style="dotted" color="grey" arrowhead="none"];
-  artemist -> nix [weight=0 style="dotted" color="grey" arrowhead="none"];
-  hyperfekt -> edef [weight=0 style="dotted" color="grey" arrowhead="none"];
+  leah2 -> edef;
+  lukegb -> isomer;
+  eta -> multi;
+  eta -> firefly;
+  cynthia -> firefly;
+  cynthia -> lukegb;
+  kanepyork -> google;
+  lukegb -> benjojo;
+  multi -> benjojo;
+  espes -> benjojo;
+  espes -> aurora;
+  puck -> nix;
+  qyliss -> nix;
+  glittershark -> nix;
+  edef -> nix;
+  aranea -> nix;
+  aranea -> profpatsch;
+  artemist -> nix;
+  hyperfekt -> edef;
+
+  // baby
+  edge [color="pink"];
+  cynthia -> baby;
+  eta -> baby;
+  Q -> baby;
 }
-- 
2.25.1



             reply	other threads:[~2020-05-10 23:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-10 23:45 lukegb [this message]
2020-05-10 23:59 lukegb

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200510234509.30969-1-lukegb@hg.lukegb.com \
    --to=lukegb@hg$(echo .)lukegb.com \
    --cc=depot@tazj.in \
    --cc=git@lukegb$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://code.tvl.fyi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).