How can i save a svg or xml has overlays doms

HI
when i load my workflow xml, i add some tips used overlays;such as
const overlays = viewer.get(“overlays”)
overlays.add(‘node_id’, {
  position: {
     top: -45,
     left: 20
   },
   html: ‘div’
})
`
5526c1053e078797f583840bc3203838

how can i save a svg or xml has this myself overlays doms, such as userA dom
thanks

As far as I know, this is not possible at the moment with our toolkit API. Please refer to this thread.

Overlays cannot be saved as they are not part of the diagram itself.