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

Minor issue when layouting 3D components #3

Open
drachenpalme opened this issue Jun 27, 2022 · 0 comments
Open

Minor issue when layouting 3D components #3

drachenpalme opened this issue Jun 27, 2022 · 0 comments

Comments

@drachenpalme
Copy link

drachenpalme commented Jun 27, 2022

Dear all,

I just tried smetana instead of graphviz and I am impressed with its features. I have nonetheless found a minor issue:

@startuml
!pragma layout smetana

node "Some Node" {
  [Some Component] 
}

@enduml

With the current plantUML 1.2022.6 you will find, that the inner box "Some Component" is being center-aligned with respect to the "outer border" (meaning: the 3d horizontal line farther out on the z-axis) of "Some Node", therefore overlapping with the "inner border" (meaning: the 2D-rectangle of "Some Node").
My guess would be, you align with respect to the overall width of the outer component, ignoring, this width is in some way larger due to the 3d-effect.

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

1 participant