You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.
Defining a group with no curly braces produces strange diagrams. For example consider this code:
workspace {
model {
softwareSystem "Foo" {
container "c0"
group "Outer" {
container "c1" {
group "Foo" {
}
}
}
container "c2" {
}
}
}
}
It renders container diagram as expected:
But when I remove braces from group Foo suddenly container c2 renders inside Outer group:
workspace {
model {
softwareSystem "Foo" {
container "c0"
group "Outer" {
container "c1" {
group "Foo"
}
}
container "c2" {
}
}
}
}
Basically using non-braced group breaks everything that lives in lines below said group. When I try to add views below model block i get Unexpected token error at line with view definition - somehow tokenizer/interpreter thinks this is still inside model block.
I think its strange that defining non-braced (or even braced, but empty) groups is permitted considering they are not rendered at all.
Steps to reproduce
See above
Screenshot
No response
Code sample
No response
Configuration
No response
Severity
Minor
Priority
Low
Resolution
I have no budget, please fix this for free
More information
No response
The text was updated successfully, but these errors were encountered:
Description
Defining a group with no curly braces produces strange diagrams. For example consider this code:
It renders container diagram as expected:
![image](https://private-user-images.githubusercontent.com/11816836/262653162-bab3509a-f718-4798-a73d-90219b4ff46f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNTAzMzAsIm5iZiI6MTczOTM1MDAzMCwicGF0aCI6Ii8xMTgxNjgzNi8yNjI2NTMxNjItYmFiMzUwOWEtZjcxOC00Nzk4LWE3M2QtOTAyMTliNGZmNDZmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDA4NDcxMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE3Y2YxZjY0Yzc0Yjk1NDc2ZmIyNWIxYjFlYTFkZDBlNTU4ZWU5ZGRiOTQ2ODc5ZGVmNzY3YmRmOTA4M2UzNGYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.mr98ajXHV3_OECc4XpQRgAuIgqcOGYSqBrkpydEqGpA)
But when I remove braces from group Foo suddenly container c2 renders inside Outer group:
Basically using non-braced group breaks everything that lives in lines below said group. When I try to add views below model block i get Unexpected token error at line with view definition - somehow tokenizer/interpreter thinks this is still inside model block.
I think its strange that defining non-braced (or even braced, but empty) groups is permitted considering they are not rendered at all.
Steps to reproduce
See above
Screenshot
No response
Code sample
No response
Configuration
No response
Severity
Minor
Priority
Low
Resolution
I have no budget, please fix this for free
More information
No response
The text was updated successfully, but these errors were encountered: