add network diagram draft

This commit is contained in:
Jan 2024-05-11 23:02:45 +02:00
parent e1109ecefd
commit f6539e059b
5 changed files with 172 additions and 0 deletions

View file

@ -9,3 +9,21 @@ Create png images from PlantUML files using the following command:
```bash
plantuml -tpng <file>.puml
```
## Draw.io Diagrams
Ensure to have the draw.io application aliased. This example is for a macOS based system configured with ansible:
```yaml
- name: Add Draw.io alias to .zshrc
lineinfile:
path: "/Users/{{ macos_user }}/.zshrc"
line: "alias drawio='/Applications/draw.io.app/Contents/MacOS/draw.io'"
state: present
```
Create png images from Draw.io diagrams using the following command.
```bash
drawio -x -f png -b 10 -o <output>.png <file>.drawio
```