structurizr / ui

UI code for Structurizr Lite, on-premises, and cloud service.
https://docs.structurizr.com/ui
MIT License
43 stars 27 forks source link

Using Docker image version 2921 or later doesn't work with relationship style elements in conjunction with a theme #4

Closed deinspanjer closed 1 year ago

deinspanjer commented 1 year ago

The following toy DSL works fine with structurizr/lite:2920 but breaks in structurizr/lite:2921 The problem is with the relationship tag in the styles section.

workspace {

    model {
        user = person "User"
        softwareSystem = softwareSystem "Software System" {
            webapp = container "Web Application" {
                user -> this "Uses" "HTTP" "Broken"
            }
            container "Database" {
                webapp -> this "Reads from and writes to"
            }
        }
    }

    views {
        systemContext softwareSystem {
            include *
            autolayout lr
        }

        container softwareSystem {
            include *
            autolayout lr
        }

        styles {
            relationship "Broken" {
                // any parameter will cause it to fail
                //color #008080
                style solid
            }
        }
        theme default
    }

}
simonbrowndotje commented 1 year ago

Thanks ... all fixed in 2927.