GithubHelp home page GithubHelp logo

net-uml-draw's Introduction

net-uml-draw

Pipeline PyPi

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

Sample Diagram

net-uml-draw's People

Contributors

j3p0uk avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.