나는 위키 미디어 공용에서처럼 수직으로 정렬 된 링크 목록을 그리는 싶습니다graphviz를 링크 목록 화살표 꼬리 기원
이내 최선 지금까지입니다 :
digraph foo {
rankdir=LR;
node [shape=record];
a [label="{ <data> 12 | <ref> }"]
b [label="{ <data> 99 | <ref> }"];
c [label="{ <data> 37 | <ref> }"];
d [shape=box];
a:ref -> b:data [arrowhead=vee, arrowtail=dot, dir=both];
b:ref -> c:data [arrowhead=vee, arrowtail=dot, dir=both];
c:ref -> d [arrowhead=vee, arrowtail=dot, dir=both];
}
주는 :
레코드 내에서 시작하려면 arrowtail 점을 어떻게 설정하고 레코드를 X
노드로 나타나게 설정합니까?
행운이없는 tailclip=false
을 사용해 보았습니다.
대답의 일부는 다음을 참조하십시오. http://stackoverflow.com/questions/7020529/starting-an-edge-from-within-a-node – minopret
시도한 'tailclip = false', 운이 없음 - 내 질문 업데이트 . –
GraphViz보다는 TikZ를 사용하는 솔루션 (개인적으로 GraphViz를 좋아하지만!) : http://tex.stackexchange.com/questions/19286/how-should-i-draw-a-singly-double-linked-list – minopret