Current Behavior:
When a replacement of a QRM contains a subprocess it should be inserted in the same form, i.e., collapsed or expanded.
However, currently, all subprocesses are expanded independent of the form within the replacement.
Expected Behavior:
The replacement should be analyzed and the inserted subprocess should only be expanded if its also expanded within the replacement.
Steps to Reproduce:
Create a QRM comprising a collapsed subprocess
Use this QRM to replace a QuantME task --> the subprocess is expanded
Current Behavior: When a replacement of a QRM contains a subprocess it should be inserted in the same form, i.e., collapsed or expanded. However, currently, all subprocesses are expanded independent of the form within the replacement.
Expected Behavior: The replacement should be analyzed and the inserted subprocess should only be expanded if its also expanded within the replacement.
Steps to Reproduce:
Other Information: See here.