Last week, I also started to develop the functionality of adding components within the webapp. When typing user input values in the python terminal, we can add components using the "addSubcomponent()" function from RoCo. I'm currently implementing this further so that we can observe the changes only within the webapp (frontend is connected, polishing is still required - I will make a blog post later once that is done).
Here is the user input:
The output svg file: We can only add two components currently (due to my flaws in my if statements)
Also, I was not able to remove the same error that RoCo itself outputs: