From f926242b7792e4664382b66af8019d73f7d363d9 Mon Sep 17 00:00:00 2001 From: Julian Seidenberg Date: Thu, 14 Apr 2011 16:25:33 +1200 Subject: [PATCH] BUGFIX: fixed a template so it can parsed by the new parser --- templates/ModelViewer_dotsrc.ss | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 templates/ModelViewer_dotsrc.ss diff --git a/templates/ModelViewer_dotsrc.ss b/templates/ModelViewer_dotsrc.ss new file mode 100644 index 000000000..63eb31994 --- /dev/null +++ b/templates/ModelViewer_dotsrc.ss @@ -0,0 +1,20 @@ +digraph g { + orientation=portrait; + overlap=false; + splines=true; + + edge[fontsize=8,len=1.5]; + node[fontsize=10,shape=box]; + + <% control Modules %> + <% control Models %> + $Name [shape=record,label="{{$Name}|<% control Fields %>$Name\\n<% end_control %>}"]; + <% if ParentModel %> + $Name -> $ParentModel [style=dotted]; + <% end_if %> + <% control Relations %> + $Model.Name -> $RelatedClass [label="$Name\\n$RelationType"]; + <% end_control %> + <% end_control %> + <% end_control %> +}