Is there any Python software or library I can rely on to :

  • Create simple yet nice mindmap
  • Export them in Excel (at least csv and then I'll xlwings)

I have discovered FMEA for industry is far easier with mind mapping but need to automate the result in excel. The only reliable language I know is python.

here is the mind map I plan to do enter image description here

Here is the excel result I would like enter image description here

  • Although I can do it through Xmind or mind manager I have then to do a lot of formatting due to the special xls result which is not straight forward from the level of the mind map.
  • On the other side the mind map modele is the most convenient to work with a team.

Finally a more complete mind map enter image description here

  • If you look to the right, you will see a list of possibly related questions. Does Mindmap software that supports python API help?
    – Mawg
    Oct 3, 2018 at 10:08
  • 1
    Hello, nope I had already checked it but no real good answer. Xmind has a python SDK but I'm looking for something simpler with easier direct access. Ithought python would have a decent project on this point but it seems unfortunately not. Oct 3, 2018 at 20:47
  • I do hope that you get your answer, although I must admit that I can't see how a mindmap would be of use in Excel
    – Mawg
    Oct 4, 2018 at 7:08
  • 1
    Mostly because exposing generic view involving thoughts is more suitable in mindmap and because standard report in the business must be filled through standard layout in excel.... still looking but I think I will give Xmind a chance Oct 5, 2018 at 19:04
  • 1
    Yes, here I added some pictures of mind map and simplified excel result Oct 6, 2018 at 19:26

2 Answers 2


yEDGraph Editor is for me the best I would say to create Source -> Target columns and import them into the program. It is free and allows other cool features, like inserting links, images...and different types of layout.


There is also a library that allows exporting the networks through python from the extension of this software (.graphml). I didn't research further this library, but it seems useful.


Good luck, hope it's helpul.


There is a simple text to Freemind conversion program

A simple text to Freemind conversion program

which uses Python libraries.

And may be some programs from the list have Python tools|plugins for generation of mindmaps.

12 Free Mind Mapping Tools For a Data Scientist To Enhance Structured Thinking

  • @Sylvain did you look into this? Did it meet your needs? If not, how not?
    – Mawg
    Dec 6, 2018 at 13:37
  • Awesome recommendation. However, I would like to make a mind map where a subnode from one branch could be connected to another node from another branch. Is this script able to do that?
    – Tian
    Nov 30, 2019 at 2:04
  • @Tian same need as yours. Would like to know whether the subnode could connect to another node from another branch
    – Luk Aron
    Feb 26, 2021 at 1:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.