This seems like a great idea, but it seems to overwrite a lot of native python that would make this more flexible.
With some quick playing around, I don't see a way to parameterize is. Ie. If I want to show a different amount of workers in your example[1] if I am creating a dev or prod diagram. It would be really nice to be able pre-define certain parts of the diagram and add as desired.
Looks like you should be able to use regular python variables to do that or eg call a function that returns the right list of workers depending on the environment type.
If the obvious way is what you tried then yeah, the library should be changed to support this.
With some quick playing around, I don't see a way to parameterize is. Ie. If I want to show a different amount of workers in your example[1] if I am creating a dev or prod diagram. It would be really nice to be able pre-define certain parts of the diagram and add as desired.
https://diagrams.mingrammer.com/docs/getting-started/example...