So that can be done with a little work. I included the Templater script for the mindmap as a boilerplate/starting point so people can develop their own templates.
What I’ll also do sometime in the future is to link back to lines in your document with blockIDs so I can keep the drawing and the document in sync