From 06c5fea3bf4d09ef8a5656fe3dff60f5fe703148 Mon Sep 17 00:00:00 2001 From: sinavir Date: Wed, 18 Feb 2026 13:37:31 +0100 Subject: [PATCH] update connection diagram --- connection_diagram.d2 | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/connection_diagram.d2 b/connection_diagram.d2 index 43b27e3..54cbb3e 100644 --- a/connection_diagram.d2 +++ b/connection_diagram.d2 @@ -1,3 +1,9 @@ +vars: { + d2-config: { + layout-engine: elk + } +} + Linux Host: { width: 500 } @@ -15,6 +21,16 @@ EX4100-F: { width: 500 } +EX4100-F -- Smart Plug: { + label: "Power cable" +} + +Smart Plug: { + shape: diamond +} + +Smart Plug -- Internet + Linux Host -- EX4100-F: { label: "Cat 6 cable" target-arrowhead.label: "Mgmt" @@ -23,11 +39,16 @@ Linux Host -- EX4100-F: { Linux Host -- EX4100-F: { label: "Cat 6 cable" - target-arrowhead.label: "Port 44" + target-arrowhead.label: "ge-0/0/44" source-arrowhead.label: "enp2s0" } Linux Host -- EX4100-F: { label: "10G DAC" - target-arrowhead.label: "Uplink0" + target-arrowhead.label: "xe-0/2/0" source-arrowhead.label: "enp5s0d1" } +Linux Host -- EX4100-F: { + label: "10G DAC" + target-arrowhead.label: "xe-0/2/1" + source-arrowhead.label: "enp5s0" +}