39 lines
529 B
Markdown
39 lines
529 B
Markdown
|
|
# DSL
|
||
|
|
|
||
|
|
https://structurizr.com/dsl
|
||
|
|
|
||
|
|
# Strukturizr Lite
|
||
|
|
|
||
|
|
```
|
||
|
|
docker run -it --rm -p 8080:8080 -v $(pwd):/usr/local/structurizr structurizr/lite
|
||
|
|
```
|
||
|
|
|
||
|
|
# Export
|
||
|
|
|
||
|
|
```
|
||
|
|
https://github.com/structurizr/puppeteer
|
||
|
|
```
|
||
|
|
|
||
|
|
Install
|
||
|
|
|
||
|
|
```
|
||
|
|
brew install node
|
||
|
|
npm i puppeteer
|
||
|
|
```
|
||
|
|
|
||
|
|
Export
|
||
|
|
|
||
|
|
```
|
||
|
|
node export-diagrams.js http://localhost:8080/workspace/diagrams svg
|
||
|
|
```
|
||
|
|
|
||
|
|
## K8s Theme:
|
||
|
|
|
||
|
|
https://structurizr.com/help/theme?url=https://static.structurizr.com/themes/kubernetes-v0.3/theme.json
|
||
|
|
|
||
|
|
|
||
|
|
## Shapes
|
||
|
|
|
||
|
|
https://docs.structurizr.com/ui/diagrams/notation
|
||
|
|
|