Emacs Easy Draw is a drawing tool that operates within Emacs, requiring Emacs 27.2, image support, SVG support, gzip and gunzip (or zlib support), and libxml support. It can be used in Org-Mode with various configurations. To start drawing, type [[edraw:]], and to save data in the buffer, type C-c C-c. Different link notation formats are available, and inline editing and image display modes can be toggled. The tool exports data in HTML and LaTeX formats, but there may be limitations. Regular file links can also be edited inline. Emacs Easy Draw mainly handles a subset of the SVG specification, with the recommended file extension being .edraw.svg.
https://github.com/misohena/el-easydraw