pycodestyle
pycodestyle copied to clipboard
Feature request: make onEdgeDrop event provide actual Node and Anchor objects and not just ids
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?