docs(readme): add example section
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# :ocean: React Flow
|
# :ocean: React Flow
|
||||||
|
|
||||||
React Flow is a library for building node-based graphs. You can easily implement custom node types and it comes with plugins like a MiniMap and a Controls Panel.
|
React Flow is a library for building node-based graphs. You can easily implement custom node types and it comes with plugins like a MiniMap and a Controls Panel. Check out the [demo](https://react-flow.netlify.com/) graph.
|
||||||
|
|
||||||
- [Installation](#installation)
|
- [Installation](#installation)
|
||||||
- [Usage](#usage)
|
- [Usage](#usage)
|
||||||
@@ -16,6 +16,7 @@ React Flow is a library for building node-based graphs. You can easily implement
|
|||||||
- [Plugins](#plugins)
|
- [Plugins](#plugins)
|
||||||
- [Minimap](#minimap)
|
- [Minimap](#minimap)
|
||||||
- [Controls](#controls)
|
- [Controls](#controls)
|
||||||
|
- [Examples](#examples)
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
@@ -194,3 +195,12 @@ const GraphWithControls = () => (
|
|||||||
|
|
||||||
- `style`: css properties
|
- `style`: css properties
|
||||||
- `className`: class name
|
- `className`: class name
|
||||||
|
|
||||||
|
## Examples
|
||||||
|
|
||||||
|
You can find all examples in the [example](example) folder. They are also deployt:
|
||||||
|
|
||||||
|
- [basic](https://react-flow.netlify.com/basic)
|
||||||
|
- [empty](https://react-flow.netlify.com/empty)
|
||||||
|
- [basic](https://react-flow.netlify.com/basic)
|
||||||
|
- [custom nodes](https://react-flow.netlify.com/)
|
||||||
|
|||||||
Reference in New Issue
Block a user