在Graphviz,如何在边缘的中间添加形状?

在Graphviz,如何在边缘的中间添加形状?,graphviz,Graphviz,我用红色标注了以下图纸,以说明我试图达到的效果: 您知道如何在Graphviz中实现这一点吗?您可以通过找到合适的unicode符号来模拟这种行为,例如,⋃在您的情况下,并使用属性将其放置到正确的位置: digraph { edge [arrowhead=none] Student [shape=rect] Faculty [shape=rect] o Player [shape=rect] Student -> o Facult

我用红色标注了以下图纸,以说明我试图达到的效果:


您知道如何在Graphviz中实现这一点吗?

您可以通过找到合适的unicode符号来模拟这种行为,例如,
在您的情况下,并使用属性将其放置到正确的位置:

digraph {
    edge [arrowhead=none]
    Student [shape=rect]
    Faculty [shape=rect]
    o
    Player [shape=rect]

    Student -> o
    Faculty -> o
    o -> Player [
        headlabel="⋃"
        fontsize="25"
        labeldistance="1.7"
        labelangle=0
    ]
}
结果:


您可以通过查找合适的unicode符号(例如,
在您的情况下,并使用属性将其放置到正确的位置:

digraph {
    edge [arrowhead=none]
    Student [shape=rect]
    Faculty [shape=rect]
    o
    Player [shape=rect]

    Student -> o
    Faculty -> o
    o -> Player [
        headlabel="⋃"
        fontsize="25"
        labeldistance="1.7"
        labelangle=0
    ]
}
结果: