Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Diagrams for lambda-nisaba

Contents

Newdevicekey Seq

Newdevicekey Seq

How to write diagrams

Diagrams are written in Plant UML - full instructions on the website linked.

Atom is a good editor for plant UML

How to generate diagrams

Once you've written your diagram you'll want to display it somewhere for all to see!

To automatically generate the diagrams and add them to the readme file you need to run diagram generate

# You need to have graphviz installed to generate diagrams

# if you're a windows guy
choco install javaruntime
choco install graphviz

# if you're a mac guy
brew install graphviz

# Add the path to your environment variables
# C:\Program Files (x86)\Graphviz2.38\bin

# Install diagrams globally
npm install -g diagram-cli

# init will create a /diagrams template folder
diagrams init

# make will generate all diagrams within the folder to pngs
diagrams make