(五) Graphivz 箭頭連接方向

Ports based on the 8 compass points "n", "ne","e", "se", "s", "sw", "w" or "nw" can be specified for any node.

有八種連接方向:n,ne,e,se,s,sw,w,nw。


digraph G {a->b:n[label="n"];c->d:e[label="e"];e->f:ne[label="ne"];g->h:s[label="s"];i->j:se[label="se"];k->l:w[label="w"];m->n:sw[label="sw"];p->q:nw[label="nw"];A -> B[dir = both,label=both];B -> C[dir = none,label=none];C -> D[dir = back,label=back];D -> A[dir = forward,label=forward];}

650) this.width=650;" src="http://img1.51cto.com/attachment/201309/135857463.png" title="11.png" alt="135857463.png" />

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章