structurizr / cli

A command line utility for Structurizr.
https://docs.structurizr.com/cli
Apache License 2.0
491 stars 75 forks source link

shape of styles is not being applied #36

Closed philcruz closed 3 years ago

philcruz commented 3 years ago

If I have a dsl with the basic getting started

workspace "Getting Started" "This is a model of my software system." {

    model {
        user = person "User" "A user of my software system."
        softwareSystem = softwareSystem "Software System" "My software system."

        user -> softwareSystem "Uses"
    }

    views {
        systemContext softwareSystem "SystemContext" "An example of a System Context diagram." {
                include *
                autoLayout
        }

        styles {
            element "Software System" {
                    background #1168bd
                    color #ffffff
            }
            element "Person" {
                    shape person
                    background #08427b
                    color #ffffff
            }
        }
    }

}

and I export that to plantUML, all the shapes are rectangles. The user is not rendered with a Person shape. What is the issue?

philcruz commented 3 years ago

Hmm....if you use that dsl on https://structurizr.com/dsl it renders the Person shape. But if you use the option to export to plantulm and render the plantuml it just renders as rectangles.

simonbrowndotje commented 3 years ago

Some export formats do not support all of the available shapes/features - see Structurizr - Rendering tools for a comparison.

philcruz commented 3 years ago

Ah, ok. Thanks for the clarification.