Skip to content

Commit 7b9ff43

Browse files
committed
Reuse node and link containers across render() calls.
- Change cursor on dragging nodes. - Rename 'Utils' service to 'GraphUtils'. - Move arrow heads into GraphUtils. - Add data types to JSDoc comments.
1 parent d4c4bac commit 7b9ff43

File tree

69 files changed

+396
-307
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+396
-307
lines changed

.eslintrc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@
2424
"max-len": [1, 120],
2525
"max-params": [1, 10],
2626
"max-statements": [1, 40],
27-
"no-var": 0
27+
"no-var": 0,
28+
"valid-jsdoc": [1, {
29+
"requireReturn": false,
30+
"requireParamDescription": false,
31+
"requireReturnDescription": false
32+
}]
2833
}
2934
}

app/app.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import graphTemplate from './components/graph/graph.html';
44
import aboutTemplate from './components/about/about.html';
55

66
/**
7-
* @param $httpProvider
8-
* @param $routeProvider
9-
* @param $logProvider
7+
* @param {$httpProvider} $httpProvider
8+
* @param {$routeProvider} $routeProvider
9+
* @param {$logProvider} $logProvider
1010
*
1111
* @ngInject
1212
*/

app/app.run.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @param $rootScope
2+
* @param {$rootScope} $rootScope
33
*
44
* @ngInject
55
*/

app/components/about/about.module.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as angular from 'angular';
1+
import angular from 'angular';
22

33
import AboutCtrl from './about.ctrl';
44

app/components/graph/graph.ctrl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* @param {DetailExtractor} DetailExtractor
99
* @param {RequestConfig} RequestConfig
1010
* @param {Data} Data
11-
* @param View
11+
* @param {View} View
1212
*
1313
* @ngInject
1414
*/

app/components/graph/graph.module.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as angular from 'angular';
1+
import angular from 'angular';
22
import GraphCtrl from './graph.ctrl';
33
import nodeLinkGraph from './nodelink-graph.drv';
44

0 commit comments

Comments
 (0)