Closed WLun001 closed 1 year ago
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.
New to python, please help me to review @Midnighter