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

Add `add_default_elements()` method to view classes #66

Open yt-ms opened 3 years ago

yt-ms commented 3 years ago

Checklist

Is your feature related to a problem? Please describe it.

In keeping with the Java implementation, each static view type should have an addDefaultElements() method which adds in the default elements for that view type - e.g. for container views this would add all the containers in the system and their nearest neighbours (see ContainerView.java for an example).

Describe the solution you would like.

Abstract method in StaticView, implemented in each of the derived types.