Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用 Graphviz,我知道我可以标记边和顶点。但是如果我想标记一些连接怎么办?也就是说,标记特定边缘与特定顶点相交的一些点?那可能吗?
笔记:
您可以使用taillabel和headlabel边缘属性。例如:
taillabel
headlabel
digraph G { rankdir="LR"; a->b [taillabel="from"; headlabel="to"] b->c [taillabel="from"; headlabel="to"] }
生产: