This Python script generates a mind map from a given set of topics and subtopics.
This script requires the following Python packages:
- google-generativeai
- python-dotenv
- pylatexenc
- networkx
- matplotlib
First install using:
git clone https://github.com/djmahe4/mindmap
Then you can install the required packages using pip:
pip install -r requirements.txt
Then you can run the script using Python:
python new_mindmap.py
This will generate a mind map and save it as an image file.
You can customize the appearance of the mind map by modifying the node_colors
, font_sizes
, and pos
variables in the script.