///
To get started with Mind Map Wizard and leverage its AI capabilities, follow these straightforward steps. This guide will walk you through the process from entering your topic to viewing your interact
71 views
~71 views from guests
Guest views are estimated from total page views. These include anonymous visitors and users who weren't logged in when they viewed the page.
To get started with Mind Map Wizard and leverage its AI capabilities, follow these straightforward steps. This guide will walk you through the process from entering your topic to viewing your interactive mind map, explaining what happens behind the scenes.
The first step is to tell the AI what you want a mind map about.
prompt.generate-mindmap-btn).Enter on your keyboard while the input field is focused.The user interaction for this step is handled by event listeners attached to the generate-mindmap-btn and the prompt input field, as defined in the initializeMainButtons function within scripts/new.js.
Once you've submitted your topic, Mind Map Wizard's artificial intelligence engine takes over.
getStoredApiKey() in scripts/new.js.showApiKeyPopup function in scripts/new.js. For detailed instructions on setting up and managing your API key, please refer to the [AI Model Configuration and API Keys] page.POST request to the OpenRouter.ai API endpoint (https://openrouter.ai/api/v1/chat/completions).getSelectedModel() in scripts/new.js.loading-animation in HTML) will be displayed to indicate that the AI is at work. The core logic for orchestrating this AI request is encapsulated within the generateMindmap function in scripts/new.js.markdown field.formatMarkdown function in scripts/mmw.js handles this, addressing any potential formatting inconsistencies, extracting the topic, and normalizing the Markdown to be readily usable by the mind map renderer.Finally, the generated Markdown content is transformed into an interactive mind map on your screen.
renderMindmap function in scripts/mmw.js.waitForMarkmap function ensures that the Markmap library is fully loaded before attempting to render the mind map, preventing rendering errors.renderMindmapInternal function then creates the Markmap instance, attaching it to the mindmap container element.Your newly generated mind map is also automatically saved to your local browser history for future reference. This local storage mechanism is managed by the saveMindmapToHistory function in scripts/new.js, and ensures your mind maps remain private and fast to access. You can learn more about this in the [Local Data Storage and Privacy] page. The URL in your browser will also be updated to include a unique ID for the mind map, allowing you to easily share or bookmark it, handled by the updateUrlWithId function in scripts/new.js.