Skip to content

Conversation

@shahabganji
Copy link

Added the other example of showing containers of the dependent systems

Added the other example of showing containers of the dependent systems
@shahabganji
Copy link
Author

I am not sure whether I should update the model code as well or not?

workspace {

    model {
        s1 = softwareSystem "Software System 1" {
            c1 = container "Container 1"
            c4 = container "Container 4"
        }

        s2 = softwareSystem "Software System 2" {
            c2 = container "Container 2"
            c3 = container "Container 3"
        }

        c1 -> c2
    }

    views {
      
         container s1 "Direct_Include" {
            include c1 c2
            autoLayout lr
        }
        
         container s1 "All_Containers_of_the_dependant_systems" {
            include element.type==container
            include element.parent==s1 element.parent==s2
            autoLayout lr
        }
        
        container s1 "Just_related_containers_of_the_dependant_systems"{
            include "->element.parent==s1-> && element.type==container"
            autoLayout lr
        }
    }

}

@shahabganji shahabganji changed the title Update index.md Added the other example of showing containers of the dependent systems Oct 20, 2023
@shahabganji
Copy link
Author

@simonbrowndotje, if you think this might bring value to the audience

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant