@@ -456,12 +456,12 @@ function layout(g, opts) {
456
456
time ( "layout" , ( ) => {
457
457
let layoutGraph =
458
458
time ( " buildLayoutGraph" , ( ) => buildLayoutGraph ( g ) ) ;
459
- time ( " runLayout" , ( ) => runLayout ( layoutGraph , time ) ) ;
459
+ time ( " runLayout" , ( ) => runLayout ( layoutGraph , time , opts ) ) ;
460
460
time ( " updateInputGraph" , ( ) => updateInputGraph ( g , layoutGraph ) ) ;
461
461
} ) ;
462
462
}
463
463
464
- function runLayout ( g , time ) {
464
+ function runLayout ( g , time , opts ) {
465
465
time ( " makeSpaceForEdgeLabels" , ( ) => makeSpaceForEdgeLabels ( g ) ) ;
466
466
time ( " removeSelfEdges" , ( ) => removeSelfEdges ( g ) ) ;
467
467
time ( " acyclic" , ( ) => acyclic . run ( g ) ) ;
@@ -476,7 +476,7 @@ function runLayout(g, time) {
476
476
time ( " normalize.run" , ( ) => normalize . run ( g ) ) ;
477
477
time ( " parentDummyChains" , ( ) => parentDummyChains ( g ) ) ;
478
478
time ( " addBorderSegments" , ( ) => addBorderSegments ( g ) ) ;
479
- time ( " order" , ( ) => order ( g ) ) ;
479
+ time ( " order" , ( ) => order ( g , opts ) ) ;
480
480
time ( " insertSelfEdges" , ( ) => insertSelfEdges ( g ) ) ;
481
481
time ( " adjustCoordinateSystem" , ( ) => coordinateSystem . adjust ( g ) ) ;
482
482
time ( " position" , ( ) => position ( g ) ) ;
@@ -2959,7 +2959,7 @@ function zipObject(props, values) {
2959
2959
}
2960
2960
2961
2961
} , { "@dagrejs/graphlib" :29 } ] , 28 :[ function ( require , module , exports ) {
2962
- module . exports = "1.1.2 " ;
2962
+ module . exports = "1.1.3 " ;
2963
2963
2964
2964
} , { } ] , 29 :[ function ( require , module , exports ) {
2965
2965
/**
0 commit comments