Thank you for sharing.
I tried such a script few years ago and failed
Maybe we can find a way (by adding modifiers after object generation) to alter the street object’ shape using the original edges object. I’ll try Hook modifier.
Well I tried it! I think Hook modifier might help. I used “Hook to new Object” on “Edges object” with 1 selected vertex. Then I selected the empty, then the generated “street object”.
In edit mode, I selected the verticies around the same vertex (result of you bevel I guess) and used “Hook to Selected Object”.
By doing that, I was able to move an empty and change the shape of both objects.
Empty is generated at the original vertex position and controls both objects related verticies.
If I want another “street object” I can use the newly shaped “edges object”
I’m not sure if this is the best way of doing this. There might be better ways.