Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added the other example of showing containers of the dependent systems #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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.

None yet

1 participant