diff --git a/README.md b/README.md index 21f06d03..d9fd7d2c 100644 --- a/README.md +++ b/README.md @@ -175,6 +175,8 @@ import ReactFlow, { isNode, isEdge, removeElements, addEdge } from 'react-flow- `addEdge = (edgeParams: Edge, elements: Elements): Elements` +You can use these function to update your state as seen in [this example](/example/src/Rich/index.js#L40-L41). + ## Plugins ### MiniMap