[ Web Proxy ]
URL:
Viewing: https://reactflow.dev/api-reference/types/node-connection [Back]  [Original]

NodeConnection - React FlowSkip to Content

React Flow

LearnReferenceExamplesUIShowcaseMoreReact Flow ProRemove Attribution
SearchGitHubDiscord

On This Page

ReferenceTypes

NodeConnection

Source on GitHub

The NodeConnection type is an extension of a basic Connection that includes the edgeId.

Fields

NameTypeDefault
sourcestring

The id of the node this connection originates from.

targetstring

The id of the node this connection terminates at.

sourceHandlestring | null

When not null, the id of the handle on the source node that this connection originates from.

targetHandlestring | null

When not null, the id of the handle on the target node that this connection terminates at.

edgeIdstring
Last updated on August 17, 2026

A project by the xyflow team

We are building and maintaining open source software for node-based UIs since 2019.

Web Proxy Viewer  |  New URL  |  Original Page