Diagram editor: Add reconnect functionality to component architecture
Reconnect is not yet implemented for fx-editors.
This issue adds general support for reconnecting and adds reconnect to the Component architecture.
Was created from #3898
Testing instructions:
- Import attached file-project ACC.af3_23
- Navigate to ACC System -> AdaptiveCrioseControl
- Reconnect the target of the connection ReqDistAcc ( DistanceControl ---> AccelerationControl )
- Observe: you can only connect to empty input ports and output ports of the parent.
- Reconnect the target of the connection ReqSpeedAcc ( SpeedControl ---> AccelerationControl )
- Observe: In this example also the input ReqDistAcc of component AccelerationControl is a valid reconnection target, since the components DistanceControl (and hence the connection) is optional.
- Reconnect the start of any connection.
- Observe: You can only reconnect to output ports or input ports of the parent.
Edited by Andreas Bayha