pycodestyle icon indicating copy to clipboard operation
pycodestyle copied to clipboard

Feature request: make onEdgeDrop event provide actual Node and Anchor objects and not just ids

Open rinart73 opened this issue 1 year ago • 0 comments

Currently the onEdgeDrop event only provides the following details:

{
  cursor: { x: number, y: number };
  source: {
    anchor: string;
    node: string;
  }
}

In contrast to this the onConnected event proivides:

{
  sourceNode: Node;
  sourceAnchor: Anchor;
  targetNode: Node;
  targetAnchor: Anchor;
}

Those are not the Components btw, they're some internal data type objects. Can we have onEdgeDrop give those objects too?

rinart73 avatar Jul 24 '23 20:07 rinart73