azimutt icon indicating copy to clipboard operation
azimutt copied to clipboard

Permalink for generating svg/png files

Open meichhorn-conet opened this issue 2 years ago • 3 comments

Hi,

first, great tool. thx.

One feature that i missed is to generate permalinks for generating svg/png files.

https://azimutt.app/embed?project-id=...&layout=initial&format=png

With this, the link to the png can be used in some markdown wikis for documenting

meichhorn-conet avatar Oct 31 '22 05:10 meichhorn-conet

Hi @meichhorn-conet

Indeed that's a very good idea :smile:

I'm not really sure how to do it but will give some thoughts. Naively, this seems huge work as the UI is fully rendered client-side. Did you already do that for an app?

loicknuchel avatar Oct 31 '22 08:10 loicknuchel

I dont know your infrastructure behind your azimutt.app. As cloud developer, I would push generating png files into a docker/kubernetes/fargate (Aws) container. Inside the container I would use playwright for creating screenshots.

meichhorn-conet avatar Oct 31 '22 11:10 meichhorn-conet

Thanks. Will investigate that.

loicknuchel avatar Nov 14 '22 08:11 loicknuchel