Branch: refs/heads/master
Home: https://github.com/cytoscape/cytoscape.js
Commit: 221502c62dd6cf8fa7a891f7285b1c2995cf3eaf
https://github.com/cytoscape/cytoscape.js/commit/221502c62dd6cf8fa7a891f7285b1c2995cf3eaf
Author: Max Franz <[email protected]>
Date: 2023-05-09 (Tue, 09 May 2023)
Changed paths:
M src/extensions/layout/cose.js
Log Message:
-----------
Make built-in COSE make better use of the specified bounding box
The COSE layout internally uses two variables in addition to the bounding box,
`clientWidth` and `clientHeight`. They are set by default to the viewport
extent. COSE uses these variables in some places in lieu of the `boundingBox`.
Here, we set the `clientWidth` and `clientHeight` to be whatever is specified
as the `boundingBox` so there is no inconsistency.
This makes the demo at https://jsbin.com/tuculav behave as expected, with a
consistent result each time.
Ref: Built-in COSE layout does not fully respect the specified bounding box
when it differs from the vis. extent #3121
Commit: e3bf56e3edaf346f549b104c484a621d1872febe
https://github.com/cytoscape/cytoscape.js/commit/e3bf56e3edaf346f549b104c484a621d1872febe
Author: Max Franz <[email protected]>
Date: 2023-05-17 (Wed, 17 May 2023)
Changed paths:
M src/extensions/layout/cose.js
Log Message:
-----------
Merge pull request #3122 from cytoscape/cose-bb-fix
Make built-in COSE make better use of the specified bounding box
Compare:
https://github.com/cytoscape/cytoscape.js/compare/615f2cd4cd91...e3bf56e3edaf
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/cytoscape-cvs/cytoscape/cytoscape.js/push/refs/heads/master/615f2c-e3bf56%40github.com.