Skip to content

Commit 5ad6bd5

Browse files
Additional commit2.
1 parent 5548ca8 commit 5ad6bd5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

+dj/ERD.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,12 @@ function draw(self)
113113
% draw the diagram
114114

115115
% exclude auxiliary tables (job tables, etc.)
116-
j = cellfun(@isempty, regexp(self.nodes, '^`[a-z]\w*`\.`~\w+`$'));
116+
j = cellfun(@isempty, regexp(self.nodes, '^`[a-z]\w*`\.`~\w+`$')); %raphael
117117
self.nodes = self.nodes(j);
118-
r
118+
119119
self.makeGraph
120120

121-
rege = cellfun(@(s) sprintf('^`[a-z]\\w*`\\.`%s[a-z]\\w*`$',s), dj.Schema.tierPrefixes, 'uni', false);
121+
rege = cellfun(@(s) sprintf('^`[a-z]\\w*`\\.`%s[a-z]\\w*`$',s), dj.Schema.tierPrefixes, 'uni', false); %raphael
122122
rege{end+1} = '^`[a-z]\w*`\.`\W?\w+__\w+`$'; % for part tables
123123
rege{end+1} = '^\d+$'; % for numbered nodes
124124
tiers = cellfun(@(l) find(~cellfun(@isempty, regexp(l, rege)), 1, 'last'), self.graph.Nodes.Name);

0 commit comments

Comments
 (0)