Skip to content

Minor issue when layouting 3D components #3

@drachenpalme

Description

@drachenpalme

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions