Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

BUGFIX: fixed a template so it can parsed by the new parser

  • Loading branch information...
commit f926242b7792e4664382b66af8019d73f7d363d9 1 parent 189c305
Julian Seidenberg candidasa authored
Showing with 20 additions and 0 deletions.
  1. +20 −0 templates/ModelViewer_dotsrc.ss
20 templates/ModelViewer_dotsrc.ss
View
@@ -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 %>
+}
Please sign in to comment.
Something went wrong with that request. Please try again.