Thank you very much for helping me with this project. You have helped me many times over the years.
I looked at your capx and I think it took away some doubts about how I could do it, such as including nodes at the ends of the components, for example.
In the case of the battery, it should also have two nodes (but in this case the position will not be at the ends, but at the top, one on each pole of the battery) and also move around the screen like the other components.
The wires will also have these characteristics, that is, they will be separate objects. Blackhornet suggested the use of TiledBackgrounds, and in this case, the nodes would be the same ones used to define the length of the wire. I do not know if it is possible to snap the nodes of the wires and the nodes of the components, but this would be great.
I think the big problem will be to be able to identify each of the components (battery / resistor 100-ohms / resistor 200-ohms / fuse / switch) and to know if they are connected according to the diagram:
1- A battery pole connected to the fuse,
2- fuse connected to the switch
3- switch connected to the 100-ohm resistor
4- the 100-ohm resistor connected to the 200-ohm resistor
5- 200-ohm resistor connected to the other pole of the battery, closing the circuit.
How will I know if the 5 components that are connected by wires and following the correct order?