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

Nested Components layout broken #1443

Open
dhakehurst opened this issue Jun 1, 2023 · 1 comment
Open

Nested Components layout broken #1443

dhakehurst opened this issue Jun 1, 2023 · 1 comment
Labels

Comments

@dhakehurst
Copy link

Describe the bug
Layout does not work for nested components and ports

To Reproduce
Works fine:

@startuml
!pragma layout smetana
component X {
   port a
   port b
   component Y
}
@enduml

Layout breaks - inner component lost from diagram:

@startuml
!pragma layout smetana
component X {
   port a
   port b
   component Y {
   }
}
@enduml

Layout breaks - inner component displayed, but ports on outer component missaligned:

@startuml
!pragma layout smetana
component X {
   port a
   port b
   component Y {
     port c
   }
}
@enduml

Usage context

  • OS: MacOs 12.5.1
  • used from IntelliJ plugin [https://plugins.jetbrains.com/plugin/7017-plantuml-integration]
  • Plugin Version 6.1.0-IJ2022.2
  • PlantUml version 1.2023.7
@github-actions github-actions bot added the triage label Jun 1, 2023
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

2 participants