Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
React Flow | 15,952 | 70 | 12 hours ago | 259 | September 14, 2022 | 83 | mit | TypeScript | ||
Highly customizable library for building an interactive node-based UI, workflow editor, flow chart or static diagram | ||||||||||
Gojs | 6,875 | 110 | 83 | a month ago | 243 | September 12, 2022 | other | HTML | ||
JavaScript diagramming library for interactive flowcharts, org charts, design tools, planning tools, visual languages. | ||||||||||
Vue Chartjs | 5,143 | 1,238 | 199 | 3 days ago | 87 | May 27, 2022 | 21 | mit | TypeScript | |
📊 Vue.js wrapper for Chart.js | ||||||||||
Joint | 3,928 | 271 | 44 | 8 days ago | 46 | April 08, 2022 | 50 | mpl-2.0 | JavaScript | |
A proven SVG-based JavaScript diagramming library powering exceptional UIs | ||||||||||
Ml Glossary | 2,710 | 5 months ago | 19 | mit | Python | |||||
Machine learning glossary | ||||||||||
Mermaid Live Editor | 2,535 | 8 hours ago | 33 | mit | TypeScript | |||||
Edit, preview and share mermaid charts/diagrams. New implementation of the live editor. | ||||||||||
React Flow Chart | 1,287 | 8 | 12 | 6 months ago | 14 | June 28, 2020 | 100 | mit | TypeScript | |
🌊 A flexible, stateless, declarative flow chart library for react. | ||||||||||
Radarchartview | 486 | 6 years ago | 3 | apache-2.0 | Java | |||||
Android view (widget) for rendering radial diagrams | ||||||||||
Grafana Diagram | 394 | 4 months ago | 59 | apache-2.0 | TypeScript | |||||
A Grafana plugin to visualize metrics in a diagram using flow charts, gantt charts, sequence diagrams, or class diagrams | ||||||||||
Flowy Vue | 360 | 1 | 5 months ago | 12 | July 08, 2020 | 37 | mit | Vue | ||
Vue Flowy makes creating flowchart or hierarchy chart functionality an easy task. Build automation software, mind mapping tools, organisation charts, or simple programming platforms in minutes by implementing the library into your project. |
A highly customizable React component for building interactive graphs and node-based editors.
Getting Started | Documentation | Examples | Discord | React Flow Pro
Are you using React Flow for a personal project? Great! No sponsorship needed, you can support us by reporting any bugs you find, sending us screenshots of your projects, and starring us on Github
Are you using React Flow at your organization and making money from it? Awesome! We rely on your support to keep React Flow developed and maintained under an MIT License, just how we like it. You can do that on the React Flow Pro website or through Github Sponsors.
You can find more information in our React Flow Pro FAQs.
The easiest way to get the latest version of React Flow is to install it via npm, yarn or pnpm:
npm install reactflow
This is only a very basic usage example of React Flow. To see everything that is possible with the library, please refer to the website for guides, examples and the full API reference.
import { useCallback } from 'react';
import ReactFlow, {
MiniMap,
Controls,
Background,
useNodesState,
useEdgesState,
addEdge,
} from 'reactflow';
import 'reactflow/dist/style.css';
const initialNodes = [
{ id: '1', position: { x: 0, y: 0 }, data: { label: '1' } },
{ id: '2', position: { x: 0, y: 100 }, data: { label: '2' } },
];
const initialEdges = [{ id: 'e1-2', source: '1', target: '2' }];
function Flow() {
const [nodes, setNodes, onNodesChange] = useNodesState(initialNodes);
const [edges, setEdges, onEdgesChange] = useEdgesState(initialEdges);
const onConnect = useCallback((params) => setEdges((eds) => addEdge(params, eds)), [setEdges]);
return (
<ReactFlow
nodes={nodes}
edges={edges}
onNodesChange={onNodesChange}
onEdgesChange={onEdgesChange}
onConnect={onConnect}
>
<MiniMap />
<Controls />
<Background />
</ReactFlow>
);
}
export default Flow;
Before you can start developing please make sure that you have pnpm installed (npm i -g pnpm
). Then install the dependencies using pnpm: pnpm install
.
Run pnpm build
once and then you can use pnpm dev
for local development.
Testing is done with cypress. You can find the tests in the examples/vite-app/cypress
folder. In order to run the tests do:
pnpm test
React Flow is the full-time project of Moritz and Christopher ofwebkid, based in Berlin. If you need help or want to talk to us about a collaboration, reach out through ourcontact formor by joining theReact Flow Discord Server.
Any support you provide goes directly towards the development and maintenance of React Flow, allowing us to continue to operate as an independent company, working on what we think is best for React Flow as an open-source library.
React Flow was initially developed for datablocks, a graph-based editor for transforming, analyzing and visualizing data in the browser. Under the hood, React Flow depends on these great libraries:
React Flow is MIT licensed.