Adding graph propagation to our logic gates app

We shipped a Logic Gates diagram builder app for React, Angular, Vue and Svelte a few weeks ago. It's a cool app, allowing users to construct diagrams with some nifty features like auto edge connect while dragging, and auto connect when dropping on an existing edge:
what it didn't do, though, was offer the ability for someone to see the flow of logic through the diagrams they had created. And so that's the topic of today's article - we're going to run through how we went about adding a simulator function to this app.
Input/output shapes
The current set of shapes does not contain anything I can use to inject or read values. So I had a quick chat with an agent about it:
