export as image
asith-w opened this issue · comments
asith-w commented
Can the ' '@mind-elixir/export-image' package be used for exporting mind maps as image or svg in version 3.0 or 2.0?
asith-w commented
could you provide any suggestions on how to modify this package in order to make it compatible with the latest version
DJJo commented
- traverse all node and use getBoundingClientRect to generate svg string or DOM
- calculate map size then define the width and height of the svg file
- integrate svg in the original map like link and summary to your svg file
asith-w commented
great
thank you