相关疑难解决方法(0)

家庭树布局与Dot/GraphViz

我试图用Dot和GraphViz绘制一个家谱.

这就是我目前拥有的:

# just graph set-up
digraph simpsons {
ratio = "auto"
mincross = 2.0

# draw some nodes
"Abraham"   [shape=box, regular=1, color="blue"] ;
"Mona"      [shape=box, regular=1, color="pink"] ;
"Clancy"    [shape=box, regular=1, color="blue"] ;
"Jackeline" [shape=box, regular=1, color="pink"] ;
"Herb"      [shape=box, regular=1, color="blue"] ;
"Homer"     [shape=box, regular=1, color="blue"] ;
"Marge"     [shape=box, regular=1, color="pink"] ;
"Patty"     [shape=box, regular=1, color="pink"] ;
"Selma"     [shape=box, regular=1, color="pink"] ;
"Bart"      [shape=box, regular=1, color="blue"] ;
"Lisa"      [shape=box, regular=1, color="pink"] ;
"Maggie"    [shape=box, regular=1, color="pink"] ;
"Ling" …
Run Code Online (Sandbox Code Playgroud)

dot graphviz genealogy graph-layout family-tree

40
推荐指数
4
解决办法
2万
查看次数

标签 统计

dot ×1

family-tree ×1

genealogy ×1

graph-layout ×1

graphviz ×1