structurizr / export

Export models and views to external formats.

Home Page:https://docs.structurizr.com/export

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Export of structurizr person shape using dot format

freudl opened this issue · comments

When I use the CLI (v1.18.0) to export the demo workspace Big Bank into dot using structurizr-cli export -w demo.dsl -f dot and render the resulting dot file using Graphvis Online I cannot find any shape for Persons.
In contrast, Structurizr Online-Service renders the System Context and its Person Shape as expected.

Is there any way to export shapes to dot?

As far as I'm aware, there's no person shape available via Graphviz/DOT unfortunately -> https://graphviz.org/doc/info/shapes.html

@simonbrowndotje I see, and replacing the persons shape from rectto oval in dot provides a workaround, immediately. However, custom shapes seem complex.

and replacing the persons shape from rectto oval in dot provides a workaround

You can also change the element style associated with the Person tag. With the DSL, this is:

element "Person" {
    shape ellipse
}