chore(readme): add helper functions section

This commit is contained in:
moklick
2020-05-05 12:29:23 +02:00
parent 17fa831637
commit f38827541f
+2
View File
@@ -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