node-red-quantum / node-red-contrib-quantum

Quantum computing functionality for Node-RED
https://node-red-quantum.github.io/
Apache License 2.0
18 stars 2 forks source link

Louis/flow-builder #81

Closed louislefevre closed 3 years ago

louislefevre commented 3 years ago

Purpose

Adding the FlowBuilder class, which is intended to make the creation of flows for unit tests easier and more readable. Currently this only works with quantum nodes and not inbuilt ones, which I can add in the future.

I've added an explanation of the usage example in the comments of this PR.

PR #82 needs to be merged before this PR, otherwise the additions here won't work due to quantum-circuit.js not loading.

Changes