Convert a canvas into an excalidraw drawing?

Is there a way to automate the conversion of an obsidian canvas into an excalidraw drawing?

An excalidraw script maybe?

Canvas is just a JSON file, so it is likely that you can write an ExcalidrawAutomate script that simply reads that file and converts it into a drawing.
(But I don’t know if ExcalidrawAutomate allows embedding a note)

yes, JSON to Excalidraw converter is what I’m looking for.

I’m afraid I don’t have the coding abilities to write an ExcalidrawAutomate script myself…

That’s why I was curious to know if anyone had ever though about this or even started to experiment/prototype something.