OnConnect
The OnConnect type represents a callback function that is called when a new connection is created between nodes. It receives a Connection containing the source and target node IDs and their respective handle IDs.
type OnConnect = (connection: Connection) => void;| Name | Type | Default | 
|---|---|---|
connection | Connection | 
Last updated on