Skip to content

Implied relationship don't preserve tags in scripts #310

Closed Answered by simonbrowndotje
galuszkak asked this question in Q&A
Discussion options

You must be logged in to vote

This is by design, and related to the issues you linked to. In summary, it's not possible to add all tags (and properties, perspectives, etc) when building implied relationships because they can be added to after the implied relationship has been created. For example:

workspace {
    !identifiers hierarchical
    model {

        softwareSystem1 = softwareSystem "Software System 1" {
            container1 = container "WebApp"
        }
        softwareSystem2 = softwareSystem "Software System 2" {
            container2 = container "WebApp"
        }
        rel1 = softwareSystem1.container1 -> softwareSystem2.container2 "Uses" {
            tags "Tag1"
        }

        !ref rel1 {
   …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by galuszkak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #293 on July 02, 2024 08:36.