This commit is contained in:
parent
9f77cebc0d
commit
2b76cfadde
2 changed files with 17 additions and 14 deletions
14
source/infra.d2
Normal file
14
source/infra.d2
Normal file
|
@ -0,0 +1,14 @@
|
|||
...@../d2class/network.d2
|
||||
wan -- home.freebox
|
||||
wan -- scaleway."mail.0w.tf"
|
||||
wan -- scaleway.bkp
|
||||
home: {
|
||||
freebox -- adama
|
||||
freebox.class: router
|
||||
}
|
||||
wan: {
|
||||
shape: image
|
||||
icon: https://git.0w.tf/milka64/d2class/raw/branch/main/svg/cloud.svg
|
||||
label.near: bottom-left
|
||||
}
|
||||
|
|
@ -1,16 +1,5 @@
|
|||
.. d2lang::
|
||||
.. d2lang::
|
||||
|
||||
@../d2class/network.d2
|
||||
wan -- home.freebox
|
||||
wan -- scaleway."mail.0w.tf"
|
||||
wan -- scaleway.bkp
|
||||
home: {
|
||||
freebox -- adama
|
||||
class: "router"
|
||||
}
|
||||
wan: {
|
||||
shape: image
|
||||
icon: https://git.0w.tf/milka64/d2class/raw/branch/main/svg/cloud.svg
|
||||
label.near: bottom-left
|
||||
}
|
||||
...@source/infra.d2
|
||||
home.adama.style.animated: True
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue