Write PlantUML from a Google Sheet network description
Project description
net-uml-draw
Write PlantUML from a Google Sheets spreadsheet for a simple home network diagram
Spreadsheet Example
Sample sheet is available in Sheets: Network
Display Name and Port | Room | Device | Port | MAC | Connect | Display Name |
---|---|---|---|---|---|---|
=CONCATENATE(if(ISBLANK(G2),C2,G2), " Port: ", D2) | Room 1 | Switch 1 | Port1 | =A4 | ||
=CONCATENATE(if(ISBLANK(G3),C3,G3), " Port: ", D3) | Room 1 | Switch 1 | Port2 | =A5 | ||
=CONCATENATE(if(ISBLANK(G4),C4,G4), " Port: ", D4) | Room 1 | Device 1 | LAN | =A2 | ||
=CONCATENATE(if(ISBLANK(G5),C5,G5), " Port: ", D5) | Room 1 | Device 2 | LAN | =A3 | ||
=CONCATENATE(if(ISBLANK(G6),C6,G6), " Port: ", D6) | Room 2 | Switch 2 | Port1 | =A8 | ||
=CONCATENATE(if(ISBLANK(G7),C7,G7), " Port: ", D7) | Room 2 | Switch 2 | Port2 | |||
=CONCATENATE(if(ISBLANK(G8),C8,G8), " Port: ", D8) | Room 2 | Device 3 | LAN | =A6 |
Sample PlantUML
@startuml
frame "Room 1" as 1 {
frame "Switch 1" as 2 {
queue "Port1" as 3
queue "Port2" as 4
}
frame "Device 1" as 5 {
queue "LAN" as 6
}
frame "Device 2" as 7 {
queue "LAN" as 8
}
}
frame "Room 2" as 9 {
frame "Switch 2" as 10 {
queue "Port1" as 11
queue "Port2" as 12
}
frame "Device 3" as 13 {
queue "LAN" as 14
}
}
3 -- 6
4 -- 8
11 -- 14
@enduml
Running PlantUML
java -DPLANTUML_LIMIT_SIZE=8192 -jar plantuml.1.2020.7.jar ./home_network.puml
Sample Diagram
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
net_uml_draw-2.5.tar.gz
(7.9 kB
view details)
File details
Details for the file net_uml_draw-2.5.tar.gz
.
File metadata
- Download URL: net_uml_draw-2.5.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4b783b1d0d6f1ce20987fb07b826545bd12aa292466011a148701b2bfa68f64 |
|
MD5 | 1e9aa60d3763aeb91d78161132e6f3bb |
|
BLAKE2b-256 | e085725caead23185cec212b22dceb267301435d1d04732acffd7c2b1f1d634e |