featuregood first issuesdk
Beschreibung
Description
When alt-dragging (cloning) a shape that has arrows connected to it, the arrows should also be cloned with their bindings updated appropriately.
Current behavior
- Clone a shape by alt-dragging it
- The shape is duplicated, but any arrows connected to it are not cloned
- The cloned shape has no arrow connections
Desired behavior
When alt-dragging a shape to clone it, any arrows connected to that shape should also be cloned. The bindings should be updated to reference both the original and cloned shapes.
Example
Before cloning:
- Box A → (arrow) → Box B
After alt-dragging Box B to create Box C:
- Box A → (arrow) → Box B
- Box A → (arrow) → Box C (newly cloned arrow)
This should work for arrows pointing to the cloned shape, arrows pointing from the cloned shape, or both.
Use case
This would make it much faster to duplicate parts of a diagram while preserving the connections, instead of having to manually recreate the arrows for cloned shapes.