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

Sequence diagram: Multi-level nested boxes overlaying each other #1535

Closed
gear4s opened this issue Sep 8, 2023 · 3 comments
Closed

Sequence diagram: Multi-level nested boxes overlaying each other #1535

gear4s opened this issue Sep 8, 2023 · 3 comments
Labels

Comments

@gear4s
Copy link

gear4s commented Sep 8, 2023

Describe the bug
Multi-level nested boxes are overlaying each other in sequence diagrams

To Reproduce
Example below:

@startuml
  !pragma teoz true
  
  box "Micro frontend"
      box "Components"
          box "Component 1"
              entity Part1 as C1P1
              entity Part2 as C1P2
          end box
  
          box "Component 2"
              entity Part1 as C2P1
              entity Part2 as C2P2
          end box
      end box
  end box
@enduml

Expected behavior
Multi-level boxes should not overlay each other

Screenshots
This is the example above:
image

Desktop (please complete the following information):

  • OS: macOS 13.4.1 (22F82)
  • Version 1.2023.7
@github-actions github-actions bot added the triage label Sep 8, 2023
@loufranco
Copy link

I have confirmed that this is true in a few online editors. To be fair, the documentation only shows single level nesting. I don't know if the intention is that it is N-level nesting.

@gear4s
Copy link
Author

gear4s commented Sep 9, 2023

@loufranco Teoz engine documentation states that multi-level nesting is possible but apparently it doesn't do the correct padding (meaning I need to do \n a few times): https://plantuml.com/teoz

arnaudroques added a commit that referenced this issue Sep 11, 2023
@arnaudroques
Copy link
Contributor

Thanks, definitively a bug.
This is fixed in last snapshot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants