@dagrejs/dagre 0.8.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -7
- package/dist/dagre.js +1514 -18367
- package/dist/dagre.min.js +353 -10394
- package/index.js +1 -1
- package/lib/acyclic.js +14 -14
- package/lib/add-border-segments.js +11 -12
- package/lib/coordinate-system.js +10 -12
- package/lib/data/list.js +5 -5
- package/lib/debug.js +6 -7
- package/lib/greedy-fas.js +33 -27
- package/lib/layout.js +114 -101
- package/lib/nesting-graph.js +17 -22
- package/lib/normalize.js +13 -14
- package/lib/order/add-subgraph-constraints.js +6 -8
- package/lib/order/barycenter.js +4 -6
- package/lib/order/build-layer-graph.js +11 -11
- package/lib/order/cross-count.js +10 -14
- package/lib/order/index.js +15 -22
- package/lib/order/init-order.js +9 -11
- package/lib/order/resolve-conflicts.js +17 -22
- package/lib/order/sort-subgraph.js +18 -21
- package/lib/order/sort.js +10 -11
- package/lib/parent-dummy-chains.js +19 -21
- package/lib/position/bk.js +116 -102
- package/lib/position/index.js +16 -14
- package/lib/rank/feasible-tree.js +21 -15
- package/lib/rank/index.js +8 -8
- package/lib/rank/network-simplex.js +46 -45
- package/lib/rank/util.js +8 -8
- package/lib/util.js +121 -51
- package/lib/version.js +1 -1
- package/package.json +31 -25
- package/.jscsrc +0 -6
- package/.jshintrc +0 -24
- package/.travis.yml +0 -7
- package/bower.json +0 -26
- package/dist/dagre.core.js +0 -2916
- package/dist/dagre.core.min.js +0 -474
- package/karma.conf.js +0 -68
- package/karma.core.conf.js +0 -70
- package/lib/graphlib.js +0 -15
- package/lib/lodash.js +0 -15
package/karma.core.conf.js
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
// Karma configuration
|
|
2
|
-
// Generated on Sat Oct 18 2014 17:38:05 GMT-0700 (PDT)
|
|
3
|
-
|
|
4
|
-
module.exports = function(config) {
|
|
5
|
-
config.set({
|
|
6
|
-
|
|
7
|
-
// base path that will be used to resolve all patterns (eg. files, exclude)
|
|
8
|
-
basePath: '',
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
// frameworks to use
|
|
12
|
-
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
|
|
13
|
-
frameworks: ['mocha'],
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
// list of files / patterns to load in the browser
|
|
17
|
-
files: [
|
|
18
|
-
'node_modules/lodash/lodash.js',
|
|
19
|
-
'node_modules/@dagrejs/graphlib/dist/graphlib.core.js',
|
|
20
|
-
'build/dagre.core.js',
|
|
21
|
-
|
|
22
|
-
'node_modules/chai/chai.js',
|
|
23
|
-
'test/bundle-test.js'
|
|
24
|
-
],
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
// list of files to exclude
|
|
28
|
-
exclude: [
|
|
29
|
-
],
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
// preprocess matching files before serving them to the browser
|
|
33
|
-
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
|
|
34
|
-
preprocessors: {
|
|
35
|
-
},
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
// test results reporter to use
|
|
39
|
-
// possible values: 'dots', 'progress'
|
|
40
|
-
// available reporters: https://npmjs.org/browse/keyword/karma-reporter
|
|
41
|
-
reporters: ['progress'],
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
// web server port
|
|
45
|
-
port: 9876,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
// enable / disable colors in the output (reporters and logs)
|
|
49
|
-
colors: true,
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
// level of logging
|
|
53
|
-
// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
|
|
54
|
-
logLevel: config.LOG_INFO,
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
// enable / disable watching file and executing tests whenever any file changes
|
|
58
|
-
autoWatch: true,
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
// start these browsers
|
|
62
|
-
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
|
|
63
|
-
browsers: ['Chrome', 'Firefox', 'PhantomJS'],
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
// Continuous Integration mode
|
|
67
|
-
// if true, Karma captures browsers, runs the tests and exits
|
|
68
|
-
singleRun: false
|
|
69
|
-
});
|
|
70
|
-
};
|
package/lib/graphlib.js
DELETED