PlanQK / workflow-modeler

Modeler for quantum workflows
Apache License 2.0
4 stars 4 forks source link

Subprocess handling within QRMs #60

Closed wederbn closed 1 year ago

wederbn commented 1 year ago

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:

  1. Create a QRM comprising a collapsed subprocess
  2. Use this QRM to replace a QuantME task --> the subprocess is expanded

Other Information: See here.