From f38827541f748f7c150f17f93860a68fffb6103b Mon Sep 17 00:00:00 2001 From: moklick Date: Tue, 5 May 2020 12:29:23 +0200 Subject: [PATCH] chore(readme): add helper functions section --- README.md | 2 ++ 1 file changed, 2 insertions(+) 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