feat(utils): make addEdge and removeElement mutate the array passed in

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-11-25 15:21:36 +01:00
parent 1ce41ccd40
commit 74cc61ad8d
3 changed files with 10 additions and 11 deletions
-1
View File
@@ -15,7 +15,6 @@ export {
updateEdge,
getTransformForBounds,
getRectOfNodes,
isInputDOMNode,
graphPosToZoomedPos,
} from './utils/graph'
export { defaultEdgeTypes, defaultNodeTypes } from './utils/store'