Relation-MindMap is a powerful, browser-based tool designed for creating interactive mind maps. It allows users to visualize hierarchical structures and arbitrary relationships, storing the latest map locally in the browser. The application is built using vanilla JavaScript and D3.js, and can be run directly from the static files in this repository without the need for any build steps or servers.
- Dual Display Modes: Seamlessly switch between a traditional Tree view and a Graph view. Both modes share the same intuitive interaction model, making it easy to navigate and edit your mind maps.
- Live Markdown Editor: Edit your mind map as an indented Markdown list. The editor supports automatic bullets, indentation using Tab/Shift+Tab, and undo/redo functionality, providing a smooth editing experience.
- Import & Export: Easily load mind maps from
.mdor.jsonfiles and export your current map back to these formats. Detailed documentation on the file structure can be found inmemory-bank/Importformate.md. - Search & Navigation: Utilize the search bar to highlight matching nodes and jump directly to them, enhancing navigation within large mind maps.
- Customizable Display: Adjust various settings such as link distance, node size, hierarchy scaling, animation speed, and collision radius through the settings menu.
- Color Schemes & Dark Mode: Choose from multiple predefined color palettes and toggle between light and dark themes to suit your preference.
- Local Persistence: The application automatically saves the current mind map and settings in
localStorage, ensuring that your work is restored in the next session.
For a comprehensive overview of all features and functions, refer to memory-bank/Funktionsübersicht.md. Additional detailed help files in German are available in the memory-bank/ directory.
-
Open the Application: Simply open
index.htmlin any modern web browser. The page attempts to load D3.js and marked from a CDN. If network access is blocked, the bundled fallback filesd3.v7.min.jsandmarked.min.jsare loaded instead. If your browser restricts direct file access, start a tiny web server withpython -m http.serverand openhttp://localhost:8000. -
Open the Application: Simply open
index.htmlin any modern web browser. The page normally loads D3.js and marked from a CDN. If the CDN is unavailable, local fallback files are used. If your browser restricts direct file access, you can start a tiny web server withpython -m http.serverand openhttp://localhost:8000../index.html
-
Importing Data: Use the 📁 import button located in the top right corner to load your own Markdown or JSON files. Example datasets are provided in the
Importe/folder. When exporting, the application will offer both Markdown and JSON formats for download.
- Creating Hierarchy: Use the Tab key to indent and create sub-nodes under a parent node. Shift+Tab allows you to outdent and move back up the hierarchy.
- Adding Relationships: Define relationships between nodes using the arrow notation in the Markdown editor. Supported formats include
A -> B : Type,A -> B,-> [Type] B, and-> [rel:Type] B. For more details, seememory-bank/Importformate.md.
The repository is organized as follows:
mindmap.js # Main JavaScript logic utilizing D3.js
style.css # Styling for the UI, including dark mode support
memory-bank/ # Additional documentation and examples (in German)
Importe/ # Example mind map data files
Archiv/ # Older files, screenshots, and code referencesThis project is licensed under the Apache License 2.0. For more details, please review the LICENSE file in this repository.
Contributions to Relation-MindMap are welcome. Please follow standard GitHub practices for submitting pull requests and issues.
- D3.js for providing the powerful data visualization capabilities.
- The open-source community for their continuous support and inspiration.