bpmn-io / bpmn-js

A BPMN 2.0 rendering toolkit and web modeler.
https://bpmn.io/toolkit/bpmn-js/
Other
8.55k stars 1.32k forks source link

Select target instead of connection when connecting #2142

Open philippfromme opened 5 months ago

philippfromme commented 5 months ago

Is your feature request related to a problem? Please describe.

When connecting two shapes the new connection will be selected afterwards. We should reconsider whether it would be better for the flow to select the target instead.

brave_u42V1NjOSF

Describe the solution you'd like

Select target after connect.

Describe alternatives you've considered

Keeping the existing behavior.

Additional context

Slack thread: https://camunda.slack.com/archives/C0693F1NFK5/p1713361255849419

barmac commented 5 months ago

I think it makes sense!

nikku commented 5 months ago

This could improve modeling flow but conflicts with "upgrading the connection once added", cf. below:

capture hfLpWi_optimized

nikku commented 4 months ago

Once we get to this issue, let's consider if we can test what the expected behavior is.