structurizr-python
structurizr-python copied to clipboard
feat: add missing automatic layout params
- [x] fix #87
- [ ] description of feature/fix
- [ ] tests added/passed
- [x] add an entry to the next release
New to python, please help me to review @Midnighter
Actually, I took a look at the Java and the API definition and these two attributes are not part of the AutomaticLayout
, it seems.
but i able to get it from the UI by inspecting the network tab
https://graphviz.structurizr.com/?view=id&resizePaper=true&rankDirection=TB&rankSeparation=300&nodeSeparation=300&margin=400
@simonbrowndotje can you comment on what the intention for resizePaper
and margin
is? From where should that be set?
Those are only currently used when manually initiating auto-layout from the Structurizr UI.

@WLun001 I guess this first needs to be a feature request on the Structurizr API then before we can make changes here on the Python SDK.
The Python package only interacts with the web facing API. So we can only support what is possible through this API.
@Midnighter I see. So we have to wait the web facing APIs to update
I will close this as part of a clean up.