Skip to content

Commit 2ab8b96

Browse files
committed
Build 3.7.8-sm
1 parent 3c615c0 commit 2ab8b96

File tree

5 files changed

+20
-12
lines changed

5 files changed

+20
-12
lines changed

dist/cytoscape.cjs.js

+5-3
Original file line numberDiff line numberDiff line change
@@ -8675,8 +8675,10 @@ elesfn$j.updateCompoundBounds = function () {
86758675
return;
86768676
}
86778677

8678-
var _p = parent._private;
8679-
var children = parent.children();
8678+
var _p = parent._private; // Selector will be undefined if childrenSelectorForBounds is not added to the node, this will result in all children being used to set compute bounds
8679+
8680+
var childrenSelectorForBounds = parent.data('childrenSelectorForBounds');
8681+
var children = parent.children(childrenSelectorForBounds);
86808682
var includeLabels = parent.pstyle('compound-sizing-wrt-labels').value === 'include';
86818683
var min = {
86828684
width: {
@@ -30812,7 +30814,7 @@ sheetfn.appendToStyle = function (style) {
3081230814
return style;
3081330815
};
3081430816

30815-
var version = "3.7.7-sm";
30817+
var version = "3.7.8-sm";
3081630818

3081730819
var cytoscape = function cytoscape(options) {
3081830820
// if no options specified, use default

dist/cytoscape.esm.js

+5-3
Original file line numberDiff line numberDiff line change
@@ -8671,8 +8671,10 @@ elesfn$j.updateCompoundBounds = function () {
86718671
return;
86728672
}
86738673

8674-
var _p = parent._private;
8675-
var children = parent.children();
8674+
var _p = parent._private; // Selector will be undefined if childrenSelectorForBounds is not added to the node, this will result in all children being used to set compute bounds
8675+
8676+
var childrenSelectorForBounds = parent.data('childrenSelectorForBounds');
8677+
var children = parent.children(childrenSelectorForBounds);
86768678
var includeLabels = parent.pstyle('compound-sizing-wrt-labels').value === 'include';
86778679
var min = {
86788680
width: {
@@ -30808,7 +30810,7 @@ sheetfn.appendToStyle = function (style) {
3080830810
return style;
3080930811
};
3081030812

30811-
var version = "3.7.7-sm";
30813+
var version = "3.7.8-sm";
3081230814

3081330815
var cytoscape = function cytoscape(options) {
3081430816
// if no options specified, use default

dist/cytoscape.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/cytoscape.umd.js

+5-3
Original file line numberDiff line numberDiff line change
@@ -9434,8 +9434,10 @@
94349434
return;
94359435
}
94369436

9437-
var _p = parent._private;
9438-
var children = parent.children();
9437+
var _p = parent._private; // Selector will be undefined if childrenSelectorForBounds is not added to the node, this will result in all children being used to set compute bounds
9438+
9439+
var childrenSelectorForBounds = parent.data('childrenSelectorForBounds');
9440+
var children = parent.children(childrenSelectorForBounds);
94399441
var includeLabels = parent.pstyle('compound-sizing-wrt-labels').value === 'include';
94409442
var min = {
94419443
width: {
@@ -31571,7 +31573,7 @@
3157131573
return style;
3157231574
};
3157331575

31574-
var version = "3.7.7-sm";
31576+
var version = "3.7.8-sm";
3157531577

3157631578
var cytoscape = function cytoscape(options) {
3157731579
// if no options specified, use default

src/collection/dimensions/bounds.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,10 @@ elesfn.updateCompoundBounds = function(force = false){
6161
if( !parent.isParent() ){ return; }
6262

6363
let _p = parent._private;
64-
let children = parent.children();
65-
let includeLabels = parent.pstyle( 'compound-sizing-wrt-labels' ).value === 'include';
64+
// Selector will be undefined if childrenSelectorForBounds is not added to the node, this will result in all children being used to set compute bounds
65+
const childrenSelectorForBounds = parent.data('childrenSelectorForBounds');
66+
let children = parent.children(childrenSelectorForBounds);
67+
let includeLabels = parent.pstyle( 'compound-sizing-wrt-labels' ).value === 'include';
6668

6769
let min = {
6870
width: {

0 commit comments

Comments
 (0)