1
- ( function e ( t , n , r ) { function s ( o , u ) { if ( ! n [ o ] ) { if ( ! t [ o ] ) { var a = typeof require == "function" && require ; if ( ! u && a ) return a ( o , ! 0 ) ; if ( i ) return i ( o , ! 0 ) ; var f = new Error ( "Cannot find module '" + o + "'" ) ; throw f . code = "MODULE_NOT_FOUND" , f } var l = n [ o ] = { exports :{ } } ; t [ o ] [ 0 ] . call ( l . exports , function ( e ) { var n = t [ o ] [ 1 ] [ e ] ; return s ( n ?n :e ) } , l , l . exports , e , t , n , r ) } return n [ o ] . exports } var i = typeof require == "function" && require ; for ( var o = 0 ; o < r . length ; o ++ ) s ( r [ o ] ) ; return s } ) ( { 1 :[ function ( require , module , exports ) {
2
- ( function ( global ) {
3
- /**
4
- * @license
5
- * Copyright (c) 2012-2014 Chris Pettitt
6
- *
7
- * Permission is hereby granted, free of charge, to any person obtaining a copy
8
- * of this software and associated documentation files (the "Software"), to deal
9
- * in the Software without restriction, including without limitation the rights
10
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
- * copies of the Software, and to permit persons to whom the Software is
12
- * furnished to do so, subject to the following conditions:
13
- *
14
- * The above copyright notice and this permission notice shall be included in
15
- * all copies or substantial portions of the Software.
16
- *
17
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23
- * THE SOFTWARE.
24
- */
25
- global . dagre = require ( "./index" ) ;
26
-
27
- } ) . call ( this , typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : { } )
28
- } , { "./index" :2 } ] , 2 :[ function ( require , module , exports ) {
1
+ ! function ( e ) { if ( "object" == typeof exports && "undefined" != typeof module ) module . exports = e ( ) ; else if ( "function" == typeof define && define . amd ) define ( [ ] , e ) ; else { var f ; "undefined" != typeof window ?f = window :"undefined" != typeof global ?f = global :"undefined" != typeof self && ( f = self ) , f . dagre = e ( ) } } ( function ( ) { var define , module , exports ; return ( function e ( t , n , r ) { function s ( o , u ) { if ( ! n [ o ] ) { if ( ! t [ o ] ) { var a = typeof require == "function" && require ; if ( ! u && a ) return a ( o , ! 0 ) ; if ( i ) return i ( o , ! 0 ) ; var f = new Error ( "Cannot find module '" + o + "'" ) ; throw f . code = "MODULE_NOT_FOUND" , f } var l = n [ o ] = { exports :{ } } ; t [ o ] [ 0 ] . call ( l . exports , function ( e ) { var n = t [ o ] [ 1 ] [ e ] ; return s ( n ?n :e ) } , l , l . exports , e , t , n , r ) } return n [ o ] . exports } var i = typeof require == "function" && require ; for ( var o = 0 ; o < r . length ; o ++ ) s ( r [ o ] ) ; return s } ) ( { 1 :[ function ( require , module , exports ) {
29
2
/*
30
3
Copyright (c) 2012-2014 Chris Pettitt
31
4
@@ -60,7 +33,7 @@ module.exports = {
60
33
version : require ( "./lib/version" )
61
34
} ;
62
35
63
- } , { "./lib/debug" :7 , "./lib/graphlib" :8 , "./lib/layout" :10 , "./lib/util" :30 , "./lib/version" :31 } ] , 3 :[ function ( require , module , exports ) {
36
+ } , { "./lib/debug" :6 , "./lib/graphlib" :7 , "./lib/layout" :9 , "./lib/util" :29 , "./lib/version" :30 } ] , 2 :[ function ( require , module , exports ) {
64
37
"use strict" ;
65
38
66
39
var _ = require ( "./lodash" ) ,
@@ -129,7 +102,7 @@ function undo(g) {
129
102
} ) ;
130
103
}
131
104
132
- } , { "./greedy-fas" :9 , "./lodash" :11 } ] , 4 :[ function ( require , module , exports ) {
105
+ } , { "./greedy-fas" :8 , "./lodash" :10 } ] , 3 :[ function ( require , module , exports ) {
133
106
var _ = require ( "./lodash" ) ,
134
107
util = require ( "./util" ) ;
135
108
@@ -169,7 +142,7 @@ function addBorderNode(g, prop, prefix, sg, sgNode, rank) {
169
142
}
170
143
}
171
144
172
- } , { "./lodash" :11 , "./util" :30 } ] , 5 :[ function ( require , module , exports ) {
145
+ } , { "./lodash" :10 , "./util" :29 } ] , 4 :[ function ( require , module , exports ) {
173
146
"use strict" ;
174
147
175
148
var _ = require ( "./lodash" ) ;
@@ -243,7 +216,7 @@ function swapXYOne(attrs) {
243
216
attrs . y = x ;
244
217
}
245
218
246
- } , { "./lodash" :11 } ] , 6 :[ function ( require , module , exports ) {
219
+ } , { "./lodash" :10 } ] , 5 :[ function ( require , module , exports ) {
247
220
/*
248
221
* Simple doubly linked list implementation derived from Cormen, et al.,
249
222
* "Introduction to Algorithms".
@@ -301,7 +274,7 @@ function filterOutLinks(k, v) {
301
274
}
302
275
}
303
276
304
- } , { } ] , 7 :[ function ( require , module , exports ) {
277
+ } , { } ] , 6 :[ function ( require , module , exports ) {
305
278
var _ = require ( "./lodash" ) ,
306
279
util = require ( "./util" ) ,
307
280
Graph = require ( "./graphlib" ) . Graph ;
@@ -337,7 +310,7 @@ function debugOrdering(g) {
337
310
return h ;
338
311
}
339
312
340
- } , { "./graphlib" :8 , "./lodash" :11 , "./util" :30 } ] , 8 :[ function ( require , module , exports ) {
313
+ } , { "./graphlib" :7 , "./lodash" :10 , "./util" :29 } ] , 7 :[ function ( require , module , exports ) {
341
314
/* global window */
342
315
343
316
var graphlib ;
@@ -354,7 +327,7 @@ if (!graphlib) {
354
327
355
328
module . exports = graphlib ;
356
329
357
- } , { "graphlib" :undefined } ] , 9 :[ function ( require , module , exports ) {
330
+ } , { "graphlib" :undefined } ] , 8 :[ function ( require , module , exports ) {
358
331
var _ = require ( "./lodash" ) ,
359
332
Graph = require ( "./graphlib" ) . Graph ,
360
333
List = require ( "./data/list" ) ;
@@ -474,7 +447,7 @@ function assignBucket(buckets, zeroIdx, entry) {
474
447
}
475
448
}
476
449
477
- } , { "./data/list" :6 , "./graphlib" :8 , "./lodash" :11 } ] , 10 :[ function ( require , module , exports ) {
450
+ } , { "./data/list" :5 , "./graphlib" :7 , "./lodash" :10 } ] , 9 :[ function ( require , module , exports ) {
478
451
"use strict" ;
479
452
480
453
var _ = require ( "./lodash" ) ,
@@ -868,7 +841,7 @@ function canonicalize(attrs) {
868
841
return newAttrs ;
869
842
}
870
843
871
- } , { "./acyclic" :3 , "./add-border-segments" :4 , "./coordinate-system" :5 , "./graphlib" :8 , "./lodash" :11 , "./nesting-graph" :12 , "./normalize" :13 , "./order" :18 , "./parent-dummy-chains" :23 , "./position" :25 , "./rank" :27 , "./util" :30 } ] , 11 :[ function ( require , module , exports ) {
844
+ } , { "./acyclic" :2 , "./add-border-segments" :3 , "./coordinate-system" :4 , "./graphlib" :7 , "./lodash" :10 , "./nesting-graph" :11 , "./normalize" :12 , "./order" :17 , "./parent-dummy-chains" :22 , "./position" :24 , "./rank" :26 , "./util" :29 } ] , 10 :[ function ( require , module , exports ) {
872
845
/* global window */
873
846
874
847
var lodash ;
@@ -885,7 +858,7 @@ if (!lodash) {
885
858
886
859
module . exports = lodash ;
887
860
888
- } , { "lodash" :undefined } ] , 12 :[ function ( require , module , exports ) {
861
+ } , { "lodash" :undefined } ] , 11 :[ function ( require , module , exports ) {
889
862
var _ = require ( "./lodash" ) ,
890
863
util = require ( "./util" ) ;
891
864
@@ -1019,7 +992,7 @@ function cleanup(g) {
1019
992
} ) ;
1020
993
}
1021
994
1022
- } , { "./lodash" :11 , "./util" :30 } ] , 13 :[ function ( require , module , exports ) {
995
+ } , { "./lodash" :10 , "./util" :29 } ] , 12 :[ function ( require , module , exports ) {
1023
996
"use strict" ;
1024
997
1025
998
var _ = require ( "./lodash" ) ,
@@ -1111,7 +1084,7 @@ function undo(g) {
1111
1084
} ) ;
1112
1085
}
1113
1086
1114
- } , { "./lodash" :11 , "./util" :30 } ] , 14 :[ function ( require , module , exports ) {
1087
+ } , { "./lodash" :10 , "./util" :29 } ] , 13 :[ function ( require , module , exports ) {
1115
1088
var _ = require ( "../lodash" ) ;
1116
1089
1117
1090
module . exports = addSubgraphConstraints ;
@@ -1166,7 +1139,7 @@ function addSubgraphConstraints(g, cg, vs) {
1166
1139
*/
1167
1140
}
1168
1141
1169
- } , { "../lodash" :11 } ] , 15 :[ function ( require , module , exports ) {
1142
+ } , { "../lodash" :10 } ] , 14 :[ function ( require , module , exports ) {
1170
1143
var _ = require ( "../lodash" ) ;
1171
1144
1172
1145
module . exports = barycenter ;
@@ -1196,7 +1169,7 @@ function barycenter(g, movable) {
1196
1169
}
1197
1170
1198
1171
1199
- } , { "../lodash" :11 } ] , 16 :[ function ( require , module , exports ) {
1172
+ } , { "../lodash" :10 } ] , 15 :[ function ( require , module , exports ) {
1200
1173
var _ = require ( "../lodash" ) ,
1201
1174
Graph = require ( "../graphlib" ) . Graph ;
1202
1175
@@ -1271,7 +1244,7 @@ function createRootNode(g) {
1271
1244
return v ;
1272
1245
}
1273
1246
1274
- } , { "../graphlib" :8 , "../lodash" :11 } ] , 17 :[ function ( require , module , exports ) {
1247
+ } , { "../graphlib" :7 , "../lodash" :10 } ] , 16 :[ function ( require , module , exports ) {
1275
1248
"use strict" ;
1276
1249
1277
1250
var _ = require ( "../lodash" ) ;
@@ -1343,7 +1316,7 @@ function twoLayerCrossCount(g, northLayer, southLayer) {
1343
1316
return cc ;
1344
1317
}
1345
1318
1346
- } , { "../lodash" :11 } ] , 18 :[ function ( require , module , exports ) {
1319
+ } , { "../lodash" :10 } ] , 17 :[ function ( require , module , exports ) {
1347
1320
"use strict" ;
1348
1321
1349
1322
var _ = require ( "../lodash" ) ,
@@ -1424,7 +1397,7 @@ function assignOrder(g, layering) {
1424
1397
} ) ;
1425
1398
}
1426
1399
1427
- } , { "../graphlib" :8 , "../lodash" :11 , "../util" :30 , "./add-subgraph-constraints" :14 , "./build-layer-graph" :16 , "./cross-count" :17 , "./init-order" :19 , "./sort-subgraph" :21 } ] , 19 :[ function ( require , module , exports ) {
1400
+ } , { "../graphlib" :7 , "../lodash" :10 , "../util" :29 , "./add-subgraph-constraints" :13 , "./build-layer-graph" :15 , "./cross-count" :16 , "./init-order" :18 , "./sort-subgraph" :20 } ] , 18 :[ function ( require , module , exports ) {
1428
1401
"use strict" ;
1429
1402
1430
1403
var _ = require ( "../lodash" ) ;
@@ -1464,7 +1437,7 @@ function initOrder(g) {
1464
1437
return layers ;
1465
1438
}
1466
1439
1467
- } , { "../lodash" :11 } ] , 20 :[ function ( require , module , exports ) {
1440
+ } , { "../lodash" :10 } ] , 19 :[ function ( require , module , exports ) {
1468
1441
"use strict" ;
1469
1442
1470
1443
var _ = require ( "../lodash" ) ;
@@ -1589,7 +1562,7 @@ function mergeEntries(target, source) {
1589
1562
source . merged = true ;
1590
1563
}
1591
1564
1592
- } , { "../lodash" :11 } ] , 21 :[ function ( require , module , exports ) {
1565
+ } , { "../lodash" :10 } ] , 20 :[ function ( require , module , exports ) {
1593
1566
var _ = require ( "../lodash" ) ,
1594
1567
barycenter = require ( "./barycenter" ) ,
1595
1568
resolveConflicts = require ( "./resolve-conflicts" ) ,
@@ -1667,7 +1640,7 @@ function mergeBarycenters(target, other) {
1667
1640
}
1668
1641
}
1669
1642
1670
- } , { "../lodash" :11 , "./barycenter" :15 , "./resolve-conflicts" :20 , "./sort" :22 } ] , 22 :[ function ( require , module , exports ) {
1643
+ } , { "../lodash" :10 , "./barycenter" :14 , "./resolve-conflicts" :19 , "./sort" :21 } ] , 21 :[ function ( require , module , exports ) {
1671
1644
var _ = require ( "../lodash" ) ,
1672
1645
util = require ( "../util" ) ;
1673
1646
@@ -1726,7 +1699,7 @@ function compareWithBias(bias) {
1726
1699
} ;
1727
1700
}
1728
1701
1729
- } , { "../lodash" :11 , "../util" :30 } ] , 23 :[ function ( require , module , exports ) {
1702
+ } , { "../lodash" :10 , "../util" :29 } ] , 22 :[ function ( require , module , exports ) {
1730
1703
var _ = require ( "./lodash" ) ;
1731
1704
1732
1705
module . exports = parentDummyChains ;
@@ -1814,7 +1787,7 @@ function postorder(g) {
1814
1787
return result ;
1815
1788
}
1816
1789
1817
- } , { "./lodash" :11 } ] , 24 :[ function ( require , module , exports ) {
1790
+ } , { "./lodash" :10 } ] , 23 :[ function ( require , module , exports ) {
1818
1791
"use strict" ;
1819
1792
1820
1793
var _ = require ( "../lodash" ) ,
@@ -2207,7 +2180,7 @@ function width(g, v) {
2207
2180
return g . node ( v ) . width ;
2208
2181
}
2209
2182
2210
- } , { "../lodash" :11 , "../util" :30 } ] , 25 :[ function ( require , module , exports ) {
2183
+ } , { "../lodash" :10 , "../util" :29 } ] , 24 :[ function ( require , module , exports ) {
2211
2184
"use strict" ;
2212
2185
2213
2186
var _ = require ( "../lodash" ) ,
@@ -2239,7 +2212,7 @@ function positionY(g) {
2239
2212
}
2240
2213
2241
2214
2242
- } , { "../lodash" :11 , "../util" :30 , "./bk" :24 } ] , 26 :[ function ( require , module , exports ) {
2215
+ } , { "../lodash" :10 , "../util" :29 , "./bk" :23 } ] , 25 :[ function ( require , module , exports ) {
2243
2216
"use strict" ;
2244
2217
2245
2218
var _ = require ( "../lodash" ) ,
@@ -2330,7 +2303,7 @@ function shiftRanks(t, g, delta) {
2330
2303
} ) ;
2331
2304
}
2332
2305
2333
- } , { "../graphlib" :8 , "../lodash" :11 , "./util" :29 } ] , 27 :[ function ( require , module , exports ) {
2306
+ } , { "../graphlib" :7 , "../lodash" :10 , "./util" :28 } ] , 26 :[ function ( require , module , exports ) {
2334
2307
"use strict" ;
2335
2308
2336
2309
var rankUtil = require ( "./util" ) ,
@@ -2380,7 +2353,7 @@ function networkSimplexRanker(g) {
2380
2353
networkSimplex ( g ) ;
2381
2354
}
2382
2355
2383
- } , { "./feasible-tree" :26 , "./network-simplex" :28 , "./util" :29 } ] , 28 :[ function ( require , module , exports ) {
2356
+ } , { "./feasible-tree" :25 , "./network-simplex" :27 , "./util" :28 } ] , 27 :[ function ( require , module , exports ) {
2384
2357
"use strict" ;
2385
2358
2386
2359
var _ = require ( "../lodash" ) ,
@@ -2616,7 +2589,7 @@ function isDescendant(tree, vLabel, rootLabel) {
2616
2589
return rootLabel . low <= vLabel . lim && vLabel . lim <= rootLabel . lim ;
2617
2590
}
2618
2591
2619
- } , { "../graphlib" :8 , "../lodash" :11 , "../util" :30 , "./feasible-tree" :26 , "./util" :29 } ] , 29 :[ function ( require , module , exports ) {
2592
+ } , { "../graphlib" :7 , "../lodash" :10 , "../util" :29 , "./feasible-tree" :25 , "./util" :28 } ] , 28 :[ function ( require , module , exports ) {
2620
2593
"use strict" ;
2621
2594
2622
2595
var _ = require ( "../lodash" ) ;
@@ -2679,7 +2652,7 @@ function slack(g, e) {
2679
2652
return g . node ( e . w ) . rank - g . node ( e . v ) . rank - g . edge ( e ) . minlen ;
2680
2653
}
2681
2654
2682
- } , { "../lodash" :11 } ] , 30 :[ function ( require , module , exports ) {
2655
+ } , { "../lodash" :10 } ] , 29 :[ function ( require , module , exports ) {
2683
2656
"use strict" ;
2684
2657
2685
2658
var _ = require ( "./lodash" ) ,
@@ -2917,7 +2890,8 @@ function notime(name, fn) {
2917
2890
return fn ( ) ;
2918
2891
}
2919
2892
2920
- } , { "./graphlib" :8 , "./lodash" :11 } ] , 31 :[ function ( require , module , exports ) {
2921
- module . exports = "0.6.2 " ;
2893
+ } , { "./graphlib" :7 , "./lodash" :10 } ] , 30 :[ function ( require , module , exports ) {
2894
+ module . exports = "0.6.3 " ;
2922
2895
2923
- } , { } ] } , { } , [ 1 ] ) ;
2896
+ } , { } ] } , { } , [ 1 ] ) ( 1 )
2897
+ } ) ;
0 commit comments