Skip to content

Conversation

@anila-m
Copy link
Contributor

@anila-m anila-m commented Oct 30, 2025

  • input & output handles for if-else node and repeat node are fixed (at most one final output per input)
  • number of inputs (and outputs) can be increased and decreased with the context menu for the following nodes:
    • If-else
    • repeat
    • merger
    • splitter
    • (classical) algorithm

number of input handles now determined by parameter (in property panel), not by number of connected handles.
Not completely fixed for if-then-else node.
- Final Output handles (polygon on the right) appear when internal output handles (then and else blocks) are connected.
- position of final output handles fixed
added some comments
Added buttons to add and remove input/output for some nodes, wherever applicable.

- if-then-else & repeat: add/remove quantum/classical input
- merger: add/remove input
- splitter: add/remove output
Added submenu if node has both classical and quantum input, i.e.
Add Input > Quantum | Classical.
Changed "Classic" to "Classical" in Submenu of Context Menu.
Maximum one final output handle per input.
- algorithm nodes (classical & quantum) now have data fields numberQuantumInputs/Outputs and numberClassicalInputs/Outputs
- values can be changed in property panel and via context menu
- preparation for consolidating algorithm and classicalAlgorithm into one node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants