From 894806eaaff3eeadb3ba080d991d50f17b5ae758 Mon Sep 17 00:00:00 2001 From: Lorenzo Delana Date: Tue, 20 Sep 2016 21:31:53 +0200 Subject: [PATCH] added dot short fk template to create dot diagram without fk fullname to help reduce diagram width --- dot_shortfk.tmpl | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 dot_shortfk.tmpl diff --git a/dot_shortfk.tmpl b/dot_shortfk.tmpl new file mode 100644 index 0000000..17ce17b --- /dev/null +++ b/dot_shortfk.tmpl @@ -0,0 +1,19 @@ +digraph g { +graph [ +rankdir = "LR", +concentrate = true, +ratio = auto +]; +node [ +fontsize = "10", +shape = record +]; +edge [ +]; + +"." [shape = plaintext, label = <
\N
" > PK FK ">
> ]; +
+ + +".":rtcol -> ".":ltcol [label="fk"]; +} -- 2.40.0