refactor(types): Remove internal __vf field
* fields are merged into the GraphNode / Node interface * Remove passing props from VueFlow container, use injected state Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -8,8 +8,8 @@ store.hooks.nodeDragStop.on(({ node }) => {
|
||||
const nodes = getNodesInside(
|
||||
store.getNodes,
|
||||
{
|
||||
height: props.__vf.height,
|
||||
width: props.__vf.width,
|
||||
height: props.height,
|
||||
width: props.width,
|
||||
x: props.position.x,
|
||||
y: props.position.y,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user