Last updated on
2023-11-02
The “Prevent connection cycles” example shows how to use the
getOutgoers util to check if a new
connection would cause a cycle in the flow. Check it out here.
export const nodes = [
{
id: '1',
position: { x: 0, y: 9 },
data: { label: 'A' },
},
{
id: