Fig. 01 · Knowledge tool
MindGraph
MindGraph turns a topic prompt, pasted study notes, or a captioned YouTube video into an interactive three-level React Flow mind map with PNG and Markdown export.

Overview
MindGraph is built for breaking down dense subjects into a clear, navigable hierarchy without wrestling with manual diagramming tools. Instead of starting from an empty whiteboard, you feed in a topic, raw notes, or a captioned YouTube URL.
The generated graph organizes concepts into three levels—a central root, primary branches, and supporting subtopics—rendered directly on an interactive React Flow canvas so branches can be panned, zoomed, and inspected.
Pipeline & exports
- Built on the Next.js App Router with structured output validation handled by Zod so every generated node and branch fits the three-level hierarchy reliably.
- Captioned YouTube links are parsed through youtube-transcript before mapping, turning spoken explanations into structured topic branches.
- Completed maps export directly from the canvas as PNG images via html-to-image or as clean Markdown outlines for notes and study repositories.