File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ class GraphViewModel extends ComponentRoot {
2727 this . edges = ko . observableArray ( ) ;
2828 this . refs = ko . observableArray ( ) ;
2929 this . nodesById = { } ;
30+ this . edgesById = { } ;
3031 this . refsByRefName = { } ;
3132 this . checkedOutBranch = ko . observable ( ) ;
3233 this . checkedOutRef = ko . computed ( ( ) =>
@@ -39,9 +40,7 @@ class GraphViewModel extends ComponentRoot {
3940 if ( ! this . HEAD ( ) || ! this . HEAD ( ) . cx ( ) || ! this . HEAD ( ) . cy ( ) ) return ;
4041 return `M 610 68 L ${ this . HEAD ( ) . cx ( ) } ${ this . HEAD ( ) . cy ( ) } ` ;
4142 } ) ;
42- this . showCommitNode = ko . observable ( false ) ;
4343 this . currentActionContext = ko . observable ( ) ;
44- this . edgesById = { } ;
4544 this . scrolledToEnd = _ . debounce (
4645 ( ) => {
4746 this . limit ( numberOfNodesPerLoad + this . limit ( ) ) ;
@@ -166,8 +165,6 @@ class GraphViewModel extends ComponentRoot {
166165 }
167166
168167 computeNode ( nodes ) {
169- nodes = nodes || this . nodes ( ) ;
170-
171168 this . markNodesIdeologicalBranches ( this . refs ( ) ) ;
172169
173170 const updateTimeStamp = moment ( ) . valueOf ( ) ;
You can’t perform that action at this time.
0 commit comments