refactor(flow)!: properly nest components

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-12-20 19:29:52 +01:00
parent 6bdea72b20
commit c96f62f622
12 changed files with 121 additions and 149 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ export type FlowInstance<DataNode = any, DataEdge = DataNode> = {
}
export interface FlowProps<DataNode = any, DataEdge = DataNode> {
modelValue?: any
modelValue?: any[]
nodes?: Node<DataNode>[]
edges?: Edge<DataEdge>[]
elements?: Elements