Open abhakhi opened 3 months ago
That makes sense, @dvictor - is that doable?
@raphael, if I remember correctly, we only do auto-layout on our side in the editor. The AutoLayout() DSL is for STZ only. And we don't have control over their layout.
@abhakhi, how do you use Goa model tool?
As for our editor Auto Layout button, unrelated to the AutoLayout() DSL, indeed it doesn't consider grouping in neither ContainerView nor in SystemLandscapeView. There's support in Dagre for compound graphs, so we could give it a try.
@abhakhi, how do you use Goa model tool?
@raphael, I am calling the AutoLayout()
DSL from my model.go and viewing the model in browser with mdl serve
. I did not know it is for STZ only. Now I do realize that it never worked at all (for the editor) and I had (got used) to refreshing the browser (editor) and clicking the Auto Layout button every time I updated the design.
Thanks, @abhakhi , that makes sense. When time permits, I'll look into adding this grouping functionality. Thank you for submitting the bug, @abhakhi!
Victor.
Thank you for looking into it @dvictor !
Looks like
AutoLayout()
currently showsExternal()
elements within the enterprise (group) boundary in theSystemLandscapeView()
by default. Is there any way to show them outside (without manual positioning)? If not, would be nice if it shows such elements outside the boundary instead, if the boundary is visible (EnterpriseBoundaryVisible()
).