Open MarcDuQuesne opened 2 weeks ago
While it's not possible to do so using the Skeleton API right now, you can still add images using addFiles in combination with updateScene.
Example here: https://codesandbox.io/p/sandbox/excalidraw-files-example-r7ophm?file=%2Fsrc%2FApp.js%3A20%2C43, check the onClick
handler inside the <Excalidraw/>
child button (ignore that codesandbox errors out).
Thanks, I'll take a look.
As an extension of what was done previously and described here: https://docs.excalidraw.com/docs/@excalidraw/excalidraw/api/excalidraw-element-skeleton
It would be great to be able to programmatically add icons and images (and text around them), and connect these entities.
I would like to use this feature to create AWS architectures diagrams programmatically from (AWS CDK) code.