Skip to content

Commit

Permalink
Add example call to creating-structure-svgs.md
Browse files Browse the repository at this point in the history
  • Loading branch information
schnatterer committed Nov 9, 2023
1 parent 0adf4a0 commit 448aa30
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/repo-examples/creating-structure-svgs.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@
Create SVG using
https://github.com/schnatterer/tree2svg

e.g.
```shell
cd src/repo-examples
LINE_COLOR=#777 ROOT_ICON='<i class="fab fa-git-alt fa-lg">' ./tree2svg/erd2svg.sh 6/ > 6-raw.svg
```

Then:
* Set draw.io to appearance | dark (otherwise the white objects will be imported in red!? 🤷‍♂️)
* import into draw.io (tested with 20.8.16)
Remove svg width, adapt height empirically to be minimal before importing to draw.io
(remove `content` and `deps`)
Expand Down

0 comments on commit 448aa30

Please sign in to comment.