Skip to content
This repository
Browse code

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

  • Loading branch information...
commit f926242b7792e4664382b66af8019d73f7d363d9 1 parent 189c305
Julian Seidenberg authored April 14, 2011

Showing 1 changed file with 20 additions and 0 deletions. Show diff stats Hide diff stats

  1. 20  templates/ModelViewer_dotsrc.ss
20  templates/ModelViewer_dotsrc.ss
... ...
@@ -0,0 +1,20 @@
  1
+digraph g {
  2
+	orientation=portrait;
  3
+	overlap=false;
  4
+	splines=true;
  5
+
  6
+	edge[fontsize=8,len=1.5]; 
  7
+	node[fontsize=10,shape=box];
  8
+
  9
+    <% control Modules %>
  10
+    <% control Models %>
  11
+        $Name [shape=record,label="{{$Name}|<% control Fields %>$Name\\n<% end_control %>}"];
  12
+	<% if ParentModel %>
  13
+		$Name -> $ParentModel [style=dotted];
  14
+	<% end_if %>
  15
+       <% control Relations %>
  16
+            $Model.Name -> $RelatedClass [label="$Name\\n$RelationType"];
  17
+        <% end_control %>
  18
+    <% end_control %>
  19
+    <% end_control %>
  20
+}

0 notes on commit f926242

Please sign in to comment.
Something went wrong with that request. Please try again.