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
File details
Details for the file net_uml_draw-1.485864439.tar.gz
.
File metadata
- Download URL: net_uml_draw-1.485864439.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 | 95710ada57bd8670e6dad082d993817ec29022b7ccee2305dd883cffe8bc6a5b |
|
MD5 | 23b57ac455ec2230f7c1b670f4cc044c |
|
BLAKE2b-256 | 7641a014ca0b94b42a942d3998d8ace8ad123a94330c4cce96bb8c6ef6e9e6b0 |