structurizr / dsl

Structurizr DSL
https://docs.structurizr.com/dsl
Apache License 2.0
1.41k stars 266 forks source link

Deployment diagram shows elements as internal although they are external #117

Closed MTomBosch closed 2 years ago

MTomBosch commented 2 years ago

When defining a deployment view for an external system that contains containers (mainframe in below example) then the elements are shown in blue in the diagram like internal elements although the system in scope is external.

Take this example with the external mainframe system.

/*

simonbrowndotje commented 2 years ago

That's correct, yes, because the element style sets the colour to blue:

element "Container" {
    background #438dd5
    color #ffffff
}

If you'd like to change this, I would suggest adding an additional tag to your "external containers" (e.g. "External" or "External Container"), and define a suitable element style. You can either do this manually, or use a short script to add a tag to the containers of software systems marked as external.