Closed kevinschaich closed 2 weeks ago
Actually should mention I'm on v11 and these are the exported types I'm seeing. Maybe fixed in:
cc: @moklick ? Happy to close out if so
Yep, that's fixed in v12 https://github.com/xyflow/xyflow/blob/main/packages/system/src/types/edges.ts
Definition for
Node
:Usage:
Perfect. The def for
Edge
is inconsistent:This means you can't enforce that generic props map to a discrete number of edge types throughout your app.