extenda / structurizr-to-png

Create PNGs from Structurizr DSL
MIT License
21 stars 7 forks source link

Apply manual layout from Structurizr Lite JSON file? #83

Open mleegwt opened 9 months ago

mleegwt commented 9 months ago

I'm editing my DSL file and using Structurizr Lite to render/layout the views. Is the JSON format that Structuriz Lite uses to store the layout not included in the handling of the DSL?

I like the idea to be able to automate the export using structurizr-to-png, but only if the layout is honored.

Is this feasible?

sasjo commented 3 months ago

Is the layout information persisted into the DSL file? This project depends on the structurizr libraries to perform its rendering. The renderers supported so far are focused on automated layout. Relying on automated layout is one of the selling points with C4 in my opinion. We focus on the domain model and trust rendering to visualize it.