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:
@@ -31,8 +31,6 @@ export interface FlowState extends FlowOptions {
|
||||
instance?: FlowInstance
|
||||
|
||||
elements: FlowElements
|
||||
nodes: GraphNode[]
|
||||
edges: Edge[]
|
||||
|
||||
d3Zoom?: D3Zoom
|
||||
d3Selection?: D3Selection
|
||||
|
||||
Reference in New Issue
Block a user