Skip to content

Commit ec8a5fb

Browse files
Reset ERD.
1 parent 5ad6bd5 commit ec8a5fb

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+`$')); %raphael
116+
j = cellfun(@isempty, regexp(self.nodes, '^`[a-z]\w*`\.`~\w+`$'));
117117
self.nodes = self.nodes(j);
118118

119119
self.makeGraph
120-
121-
rege = cellfun(@(s) sprintf('^`[a-z]\\w*`\\.`%s[a-z]\\w*`$',s), dj.Schema.tierPrefixes, 'uni', false); %raphael
120+
121+
rege = cellfun(@(s) sprintf('^`[a-z]\\w*`\\.`%s[a-z]\\w*`$',s), dj.Schema.tierPrefixes, 'uni', false);
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)