structurizr / cli

A command line utility for Structurizr.
https://docs.structurizr.com/cli
Apache License 2.0
492 stars 75 forks source link

Support CLI to export in png/svg format #124

Closed ThePlenkov closed 1 year ago

ThePlenkov commented 1 year ago

Description

Hi!

I see that it's possible currently to export images from UI as png or svg. This is very convenient but manual feature now. TO be able to build automations and for example compile images from DSL files as project artifacts it would be nice if CLI could have this feature too.

I see that currently this feature is implemented in the frontend.

How about decoupling it from UI to a standalone module and let's say make it available as a standalone package or part of this CLI at least? I see that jsdom now supports canvas so theoretically is possible to build diagrams now using nodeJS.

I have found also https://github.com/extenda/structurizr-to-png project, but unfortunately the way it generates images is not even close to what we see in UI currently

Priority

Low

Resolution

I have no budget, please add this feature for free

More information

No response