1

' 我正在尝试,并试图让一个长箭头指向两个框之间的线,请参阅下面的 Graphviz。我做错了什么??

F


在这个 Graphviz 中:

<graphviz>

digraph W1
{
rankdir=LR
nodesep = 0.05
node [shape=box,  width="0.8", height="0.5", fontsize="10"];
edge [weight=5]
3,
edge [weight=1]
      4, 5, Nod1, 

node [shape = none];

node [shape = box];
        3 [label = "Compound 2"];
        4 [label = "Compound 1"];
        5 [label = "Compound 3"];

Nod1 [label="N1", shape=diamond,style=filled,label="",height=.01,width=.01] ;
{
3 -> Nod1 
4->Nod1
Nod1->5  

{
rank = same;
Nod1, 3,
}

}
</graphviz>
4

0 回答 0