An open API service indexing awesome lists of open source software.

https://github.com/xyflow/react-flow-mindmap-app

A quick and organized mind map app built with React Flow. Follow the tutorial to learn how to build it yourself.
https://github.com/xyflow/react-flow-mindmap-app

mindmap react react-flow

Last synced: 12 months ago
JSON representation

A quick and organized mind map app built with React Flow. Follow the tutorial to learn how to build it yourself.

Awesome Lists containing this project

README

          

# React Flow Mind Map App

![mindmap](https://user-images.githubusercontent.com/2857535/210797861-510f0a3d-fd67-46a7-8a8d-c409cb7dbcdb.png)

This mind map app was created as an example for the blog post ["Tutorial: Build a Mind Map App with React Flow"](https://reactflow.dev/blog/mind-map-app-with-react-flow/), which has a step-by-step guide on how to build a this mindmap (for intermediate or advanced React users). [React Flow](https://reactflow.dev) is a library for creating node-based UIs.

### Features of the mindmap include
- Quickly create new nodes on drag + mouse-release
- Organize nodes by moving child notes with their parent
- Edit text in nodes

### The tutorial covers React Flow topics including
- Using Zustand for state management
- Custom node with an input field
- Using node area as a handle
- Dynamic width and auto focus

Demo: https://react-flow-mindmap.netlify.app

## Development

We are using [Vite](https://vitejs.dev/) for the development.

### Installation

Before you start, you need to install the dependencies:

```sh
npm install
```

### Dev Server

```sh
npm run dev
```

### Build

```sh
npm run build
```