From bc6907e58ba86da8c30a29c98b998832c4b260d3 Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Mon, 26 Feb 2024 21:58:24 +0100 Subject: svg: add script to export drawio svg after feature was added to specify theme on cli --- content/2023-05-24-openwrt-migrate-to-dsa/gen-svg.sh | 3 +++ content/2023-05-24-openwrt-migrate-to-dsa/home-nw.svg | 3 +-- content/2023-09-01-cas-llsc-aba/gen-svg.sh | 5 +++++ content/2023-09-01-cas-llsc-aba/list-abc.svg | 3 +-- content/2023-09-01-cas-llsc-aba/list-ac.svg | 3 +-- content/2023-09-01-cas-llsc-aba/list-b.svg | 3 +-- 6 files changed, 12 insertions(+), 8 deletions(-) create mode 100644 content/2023-05-24-openwrt-migrate-to-dsa/gen-svg.sh create mode 100644 content/2023-09-01-cas-llsc-aba/gen-svg.sh (limited to 'content') diff --git a/content/2023-05-24-openwrt-migrate-to-dsa/gen-svg.sh b/content/2023-05-24-openwrt-migrate-to-dsa/gen-svg.sh new file mode 100644 index 0000000..ca15382 --- /dev/null +++ b/content/2023-05-24-openwrt-migrate-to-dsa/gen-svg.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +drawio -x -f svg -t --svg-theme dark -o home-nw.svg home-nw.drawio diff --git a/content/2023-05-24-openwrt-migrate-to-dsa/home-nw.svg b/content/2023-05-24-openwrt-migrate-to-dsa/home-nw.svg index 484511a..e0fb864 100644 --- a/content/2023-05-24-openwrt-migrate-to-dsa/home-nw.svg +++ b/content/2023-05-24-openwrt-migrate-to-dsa/home-nw.svg @@ -1,4 +1,3 @@ - -
Internet
Internet
AVM 7360SL
AVM 7360SL
ADSL
ADSL
LAN2
LAN2
LAN3
LAN3
LAN4
LAN4
Archer C7
Archer C7
LAN2
LAN2
LAN3
LAN3
LAN4
LAN4
Wifi | HOME
Wifi | HOME
Wifi | GUEST
Wifi | GUEST
VLAN trunk
VLAN trunk
LAN1
LAN1
LAN1
LAN1
Networks
- HOME  192.168.1.0/24 (VLAN 10)
- GUEST 10.0.0.0/24    (VLAN 20)
Networks...
Text is not SVG - cannot display
\ No newline at end of file +
Internet
Internet
AVM 7360SL
AVM 7360SL
ADSL
ADSL
LAN2
LAN2
LAN3
LAN3
LAN4
LAN4
Archer C7
Archer C7
LAN2
LAN2
LAN3
LAN3
LAN4
LAN4
Wifi | HOME
Wifi | HOME
Wifi | GUEST
Wifi | GUEST
VLAN trunk
VLAN trunk
LAN1
LAN1
LAN1
LAN1
Networks
- HOME  192.168.1.0/24 (VLAN 10)
- GUEST 10.0.0.0/24    (VLAN 20)
Networks...
Text is not SVG - cannot display
\ No newline at end of file diff --git a/content/2023-09-01-cas-llsc-aba/gen-svg.sh b/content/2023-09-01-cas-llsc-aba/gen-svg.sh new file mode 100644 index 0000000..f24eb91 --- /dev/null +++ b/content/2023-09-01-cas-llsc-aba/gen-svg.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +for name in list-abc list-ac list-b; do + drawio -x -f svg -t --svg-theme dark -o $name.svg $name.drawio +done diff --git a/content/2023-09-01-cas-llsc-aba/list-abc.svg b/content/2023-09-01-cas-llsc-aba/list-abc.svg index 640f109..232d0f7 100644 --- a/content/2023-09-01-cas-llsc-aba/list-abc.svg +++ b/content/2023-09-01-cas-llsc-aba/list-abc.svg @@ -1,4 +1,3 @@ - -
A
A
next
next
B
B
next
next
C
C
next
next
m_head
m_head
..
..
next
next
Text is not SVG - cannot display
\ No newline at end of file +
A
A
next
next
B
B
next
next
C
C
next
next
m_head
m_head
..
..
next
next
Text is not SVG - cannot display
\ No newline at end of file diff --git a/content/2023-09-01-cas-llsc-aba/list-ac.svg b/content/2023-09-01-cas-llsc-aba/list-ac.svg index 35fb2a9..c3ba9b9 100644 --- a/content/2023-09-01-cas-llsc-aba/list-ac.svg +++ b/content/2023-09-01-cas-llsc-aba/list-ac.svg @@ -1,4 +1,3 @@ - -
A
A
next
next
C
C
next
next
m_head
m_head
..
..
next
next
B
B
next
next
Thread 2
Thread 2
Text is not SVG - cannot display
\ No newline at end of file +
A
A
next
next
C
C
next
next
m_head
m_head
..
..
next
next
B
B
next
next
Thread 2
Thread 2
Text is not SVG - cannot display
\ No newline at end of file diff --git a/content/2023-09-01-cas-llsc-aba/list-b.svg b/content/2023-09-01-cas-llsc-aba/list-b.svg index e17faeb..c7b6ac6 100644 --- a/content/2023-09-01-cas-llsc-aba/list-b.svg +++ b/content/2023-09-01-cas-llsc-aba/list-b.svg @@ -1,4 +1,3 @@ - -
C
C
next
next
m_head
m_head
..
..
next
next
B
B
next
next
Thread 2
Thread 2
A
A
next
next
Thread 1
Thread 1
Text is not SVG - cannot display
\ No newline at end of file +
C
C
next
next
m_head
m_head
..
..
next
next
B
B
next
next
Thread 2
Thread 2
A
A
next
next
Thread 1
Thread 1
Text is not SVG - cannot display
\ No newline at end of file -- cgit v1.2.3