From 15269aebce953da38270d7d58ae339f62cdc5026 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Ricart?= Date: Wed, 9 Oct 2024 17:02:33 +0200 Subject: [PATCH] network class --- network.d2 | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/network.d2 b/network.d2 index e69de29..c9c3c6c 100644 --- a/network.d2 +++ b/network.d2 @@ -0,0 +1,26 @@ +classes: { + emptybox: { + style.opacity: 0 + *: { + style: { + fill: transparent + border-radius: 8 + } + } + } + switch: { + shape: image + icon: https://git.0w.tf/milka64/d2class/raw/branch/main/svg/switch.svg + label.near: bottom-right + } + router: { + shape: image + icon: https://git.0w.tf/milka64/d2class/raw/branch/main/svg/router.svg + label.near: bottom-right + } + firewall: { + shape: image + icon: https://git.0w.tf/milka64/d2class/raw/branch/main/svg/firewalld2.svg + label.near: bottom-left + } +}