Closed baynezy closed 1 year ago
I am attempting to use an image view with Structurizr Lite.
However, it complains that there is an unexpected token.
2023-06-19 10:41:07.794 ERROR 1 --- [nio-8080-exec-1] s.l.c.w.FileSystemWorkspaceComponentImpl : com.structurizr.dsl.StructurizrDslParserException: Unexpected tokens (expected: systemLandscape, systemContext, container, component, filtered, dynamic, deployment, custom, styles, theme, themes, branding, terminology, properties) at line 22: image component1 {
No response
workspace { model { softwareSystem "Software System" { container = container "Container" { component1 = component "Component 1" } } } views { properties { "mermaid.url" "https://mermaid.ink" "mermaid.format" "svg" } component container { include * autoLayout lr } image component1 { mermaid https://raw.githubusercontent.com/structurizr/dsl/master/docs/cookbook/image-view/component1.mmd title "Class diagram for Component1" } } }
### Configuration _No response_ ### Severity Major ### Priority Low ### Resolution I have no budget, please fix this for free ### More information _No response_
It works for me, perhaps you're using an old version of Structurizr Lite?
@simonbrowndotje - yes. I feel pretty stupid now. That did work as expected.
Description
I am attempting to use an image view with Structurizr Lite.
However, it complains that there is an unexpected token.
Steps to reproduce
Screenshot
No response
Code sample