graphviz dot 字段连接外键

2021-09-26  本文已影响0人  林万程
图片1.png
digraph "G" {
graph [fontname = "Microsoft YaHei"  rankdir   = "LR"      label=""]
node  [fontname = "Microsoft YaHei"  shape     = "record"  ]
edge  [fontname = "Microsoft YaHei"  arrowhead = "none"    ]

<A> [label = "A|<id>id|<B_id>B_id"]
<B> [label = "B|<id>id|<xxx>xxx"  ]

<A>:<B_id> -> <B>:<id>

}
上一篇下一篇

猜你喜欢

热点阅读