Midnighter / structurizr-python

A Python 3 port of Simon Brown's Structurizr diagrams-as-code architecture description tool.
https://structurizr.com/
Apache License 2.0
65 stars 16 forks source link

Issue 52 refactor model out of hydrate methods #53

Closed yt-ms closed 3 years ago

yt-ms commented 3 years ago

Refactoring out the need for a Model when hydrating classes such as SoftwareSystem. This means that most elements can now be instantiated (explicitly or through hydration) and also have child elements added to them without being in a model and then later added to a model (which will recursively add their children).

Note that DeploymentNode still needs the Model as the instances that it contains need to look up their containers/systems from the model.