Validation
Custom nodes need to have at least one Handle
component to be connectable. You can pass a validation function isValidConnection
to the ReactFlow component in order to check if a new connection is valid and should be added.
Custom nodes need to have at least one Handle
component to be connectable. You can pass a validation function isValidConnection
to the ReactFlow component in order to check if a new connection is valid and should be added.