Welcome to the Madness Interactive Mind Map system! This tool visualizes the sprawling ecosystem of projects, todos, and lessons learned in a beautiful, interactive way. It helps you (and your AI agents) see the big picture, track progress, and discover hidden connections across the Madness Interactive universe.
The mindmap system is powered by scripts/mindmap_generator.py, a flexible Python tool that scans the project structure, queries the MCP todo/lessons database, and generates interactive visualizations in multiple formats (HTML, SVG, DOT, JSON).
- Visualize: See all projects, technologies, and their relationships at a glance.
- Track Todos: Integrate with the MCP todo system to show active work, priorities, and project health.
- Lessons Learned: Explore a knowledge base of lessons, cross-referenced by language and tags.
- Customizable: Filter by depth, style, or focus on todos/lessons.
- Interactive HTML Mind Map: Pan, zoom, expand/collapse nodes, and view tooltips for rich project/todo/lesson info.
- SVG, DOT, JSON Exports: For embedding, automation, or further analysis.
- Todo Integration: Show project todo counts, priorities, and individual items (active only).
- Lessons Learned Mode: Visualize knowledge by language and tag, with lesson summaries and details.
- Makefile Integration: Easy one-command generation for all formats.
Run the generator from the project root:
python3 scripts/mindmap_generator.py --format html --interactive --output docs/mindmap.html--format html|svg|dot|jsonOutput format (default: html)--output FILEOutput file (default: mindmap.html)--depth NMaximum directory depth (default: 3)--style tech|hierarchicalMind map style (default: tech)--interactiveEnable interactive HTML features--include-todosShow todo summaries per project--include-todo-itemsShow individual todo items (top 5 projects)--todo-centricShow only active projects/todos from the database--lessons-learnedVisualize lessons learned by language/tag
See all options:
python3 scripts/mindmap_generator.py --helpThe Makefile provides convenient shortcuts:
make mindmapβ Interactive HTML mind map (default)make mindmap-with-todosβ Mind map with todo summariesmake mindmap-with-todo-itemsβ Mind map with individual todo items (top 5 projects)make mindmap-todo-centricβ Mind map focused on active projects/todosmake mindmap-lessons-learnedβ Mind map of lessons learned (by language/tag)make mindmap-svgβ SVG exportmake mindmap-dotβ DOT/Graphviz exportmake mindmap-jsonβ JSON exportmake mindmap-allβ All formats
Outputs are written to docs/ (e.g., docs/mindmap.html, docs/mindmap_todos.html, etc).
- Project/Category Structure: Controlled by directory layout in
projects/. - Todo/Knowledge Data: Pulled directly from the MCP MongoDB (
swarmonomicon.todos,lessons_learned). - Appearance/Behavior: Tweak
scripts/mindmap_generator.pyfor advanced customization (colors, icons, node types, etc).
- Ensure
pymongois installed for database integration:pip install pymongo - MongoDB connection details are read from environment or default to localhost.
- If you see missing data, check your database connection and todo/lesson collections.
- Add new mindmap features or visualizations in
scripts/mindmap_generator.py. - Update this README with new capabilities or usage tips.
- Share your own mindmap outputs and ideas!
"The difference between madness and genius is measured only by success!" β Unknown Mad Scientist