You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was thinking it would be nice to have the circuit layout formatting separated from the main compilation so that the circuit can be viewed in the UI prior to the compilation.
As a first iteration, rather than rewriting the main compilation block, set up a new api method called render_circuit_layout so that when an example circuit is selected from the dropdown, the circuit diagram gets rendered before the compilation request is submitted. I would fire the axios request on the dropdown select onChange.
Can elaborate further
The text was updated successfully, but these errors were encountered:
It would definitely be nice to see the circuit before submitting.
In the past we though about having the user be able to edit the circuit with Algassert in latticesurgery-com/web-ui#1 directly in browser. Using Algassert to render directly in browser, without API calls is an avenue worth considering.
I was thinking it would be nice to have the circuit layout formatting separated from the main compilation so that the circuit can be viewed in the UI prior to the compilation.
As a first iteration, rather than rewriting the main compilation block, set up a new api method called render_circuit_layout so that when an example circuit is selected from the dropdown, the circuit diagram gets rendered before the compilation request is submitted. I would fire the axios request on the dropdown select onChange.
Can elaborate further
The text was updated successfully, but these errors were encountered: