Branch: refs/heads/3.11.x Home: https://github.com/cytoscape/cytoscape.js Commit: 3fcd3a7343e1f81069a9e137eac53abe23ccf201 https://github.com/cytoscape/cytoscape.js/commit/3fcd3a7343e1f81069a9e137eac53abe23ccf201 Author: Max Franz <maxkfr...@gmail.com> Date: 2019-11-12 (Tue, 12 Nov 2019)
Changed paths: M src/collection/dimensions/bounds.js Log Message: ----------- When calculating the bounds for an edge, the edge should be considered dirty if the connected nodes are dirty. Here, an element is considered dirty if the `bbCache` is null-like. The bbCache is cleared for an element whenever a style property is applied that may result in a change in bounds. So now for a node, a change of a bounds-affecting style property results in the implicit dirtying of the bounds of each connected edge. We should avoid explicit dirtying of edges to avoid additional expense. There is typically a 1:n relationship of nodes:edges, so connected edge iteration should be generally avoided. Ref : Backport 3.11.x : Edge not drawn anymore when fully covered by a node and then removing the cover #2572 #2566 Commit: 6230f723c8da27a75541035270757bca2a6512ea https://github.com/cytoscape/cytoscape.js/commit/6230f723c8da27a75541035270757bca2a6512ea Author: Max Franz <maxkfr...@gmail.com> Date: 2019-11-12 (Tue, 12 Nov 2019) Changed paths: M src/extensions/renderer/canvas/drawing-elements.js M src/extensions/renderer/canvas/drawing-label-text.js Log Message: ----------- An edge with the `badLine` flag (impossible to calculate endpoints) is ignored by label drawing functions. Ref : Backport 3.11.x : Edge label still drawn even though edge is completely covered by a node #2573 #2563 Compare: https://github.com/cytoscape/cytoscape.js/compare/1bdaaf583f3b...6230f723c8da -- 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 cytoscape-cvs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/cytoscape-cvs/cytoscape/cytoscape.js/push/refs/heads/3.11.x/1bdaaf-6230f7%40github.com.