在Plant UML中,我有几个类需要在其中一个类中指定大量属性,但这会导致该类与其兄弟类及其兄弟类的子类之间存在较大的垂直间隔。
有没有办法告诉渲染引擎,如果两个子类没有共同的直接父类,就不要关心它们的垂直对齐?
我的类层次结构的最小示例。
期望输出:
观察到的输出:
有没有办法告诉渲染引擎,如果两个子类没有共同的直接父类,就不要关心它们的垂直对齐?
我的类层次结构的最小示例。
parent <|-- child1
parent <|-- child2
child2 <|-- child2a
class child1 {
i
have
a
lot
of
different
fields
that
need
to
be
included
which
makes
my
box
very
long
}
期望输出:
![输出中,child2a可以直接显示在child2下方,而不是被推到child1的高度下方](https://istack.dev59.com/ZlTPT.webp)
![输出中child2和child2a之间有大量的空白空间,导致child2a被迫放在child1的高度下方](https://istack.dev59.com/Zu3sD.webp)