Merge pull request #5053 from xyflow/chore/get-node-connections
Chore/get node connections
This commit is contained in:
5
.changeset/red-geese-cry.md
Normal file
5
.changeset/red-geese-cry.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@xyflow/react': patch
|
||||
---
|
||||
|
||||
Remove incorrect deprecation warning
|
||||
@@ -203,7 +203,6 @@ export type GeneralHelpers<NodeType extends Node = Node, EdgeType extends Edge =
|
||||
}) => HandleConnection[];
|
||||
/**
|
||||
* Gets all connections to a node. Can be filtered by handle type and id.
|
||||
* @deprecated use `getNodeConnections` instead
|
||||
* @param type - handle type 'source' or 'target'
|
||||
* @param handleId - the handle id (this is only needed if you have multiple handles of the same type, meaning you have to provide a unique id for each handle)
|
||||
* @param nodeId - the node id the handle belongs to
|
||||
@@ -219,7 +218,6 @@ export type GeneralHelpers<NodeType extends Node = Node, EdgeType extends Edge =
|
||||
handleId?: string | null;
|
||||
}) => NodeConnection[];
|
||||
};
|
||||
|
||||
/**
|
||||
* The `ReactFlowInstance` provides a collection of methods to query and manipulate
|
||||
* the internal state of your flow. You can get an instance by using the
|
||||
|
||||
Reference in New Issue
Block a user