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

Align structurizr output aesthetics with default structurizr tools #1775

Open
AWhetter opened this issue Aug 23, 2024 · 2 comments
Open

Align structurizr output aesthetics with default structurizr tools #1775

AWhetter opened this issue Aug 23, 2024 · 2 comments

Comments

@AWhetter
Copy link

The structurizr output currently looks like this:
kroki

The same diagram looks like the following when output with structurizr tools (https://structurizr.com/ lite, on-prem, or demo):
structurizr

There's some commonality in the design -- like colours and basic shapes -- but, in my opinion, the kroki output looks less aesthetically pleasing than the structurizr output.

I am proposing that kroki match the styling of structurizr more closely by default, possibly by using structurizr-autolayout to do the output rather than using the PlantUML exporter.

@ggrossetie
Copy link
Member

As far as I know, this is the best we can do since the structurizr.com rendered is not open source. See the comments below from Structurizr creator:

Correct, the structurizr.com renderer is not open source, but the Structurizr DSL and Structurizr CLI are open source. The DSL allows you to create a software architecture model, while the CLI provides an export to a number of open source tools, including PlantUML, Mermaid, and WebSequenceDiagrams. These exporters are open source too (and provided by the Structurizr Java extensions project).

-- Simon Brown #510 (comment)

Yes, that's correct, and the StructurizrPlantUMLWriter is probably the best output of PlantUML and Mermaid (the Graphviz libary is only used for automatic layout, it doesn't produce full diagrams).

-- Simon Brown #510 (comment)

@ggrossetie ggrossetie closed this as not planned Won't fix, can't repro, duplicate, stale Aug 24, 2024
@simonbrowndotje
Copy link

since the structurizr.com rendered is not open source

The Structurizr UI has been open source since Jan 2023 -> https://github.com/structurizr/ui

As mentioned in #1758 though, you will need to run the Structurizr renderer in a web browser, and use something like headless Chrome and Puppeteer to extract the diagrams.

@ggrossetie ggrossetie reopened this Aug 25, 2024
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

No branches or pull requests

3 participants