refactor(store): remove nodes/edges field

* nodes/edges are accessed via getter - that retains reactivity on elements

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 23bceea255
commit 725dc8acb7
3 changed files with 31 additions and 37 deletions
-2
View File
@@ -31,8 +31,6 @@ export interface FlowState extends FlowOptions {
instance?: FlowInstance
elements: FlowElements
nodes: GraphNode[]
edges: Edge[]
d3Zoom?: D3Zoom
d3Selection?: D3Selection