Coder Social home page Coder Social logo

netdiagram's Introduction

netdiagram

A CLI tool for QUICKLY preparing simple network diagrams

Language

  • The script takes an argument string declaring topology and layout. This means 1) the links between nodes and 2) the desired location of nodes in your diagram.

Links between nodes

  • Node names are Letter+Numbers. R for router, S for switch, H for host. Labels are auto-generated.
  • Links are declared with a dash. R1-S1 means router 1 is connected to switch 1.
  • Links from a node to several hosts can be shortened by ellipsis like S1-H1..H4.
  • Topology is a sequence of links separated by semicolon.

Location of nodes

  • Last component in argument is the diagram layout.
    • Nodes A above B are written A/B.
    • Nodes A and B, side to side, are written A,B.
    • Nodes A to D located side to side are written A,B,C,D or A..D.
    • Nodes A to D located on a stack are written A/B/C/D or A//D.

Examples

Please have look at the wiki: https://github.com/egrosclaude/netdiagram/wiki

netdiagram's People

Contributors

egrosclaude avatar estudiandoredes avatar

Stargazers

 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.