Branch: refs/heads/unstable
  Home:   https://github.com/cytoscape/cytoscape.js
  Commit: 7e21516f56181b700416ed7f591d5db1f72a09b0
      
https://github.com/cytoscape/cytoscape.js/commit/7e21516f56181b700416ed7f591d5db1f72a09b0
  Author: Max Franz <[email protected]>
  Date:   2019-11-11 (Mon, 11 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 : Edge not drawn anymore when fully covered by a node and then removing the 
cover #2566


  Commit: 99d592bd695ca10aeb784a3f645ffe1fa0b82c7c
      
https://github.com/cytoscape/cytoscape.js/commit/99d592bd695ca10aeb784a3f645ffe1fa0b82c7c
  Author: Max Franz <[email protected]>
  Date:   2019-11-11 (Mon, 11 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 : Edge label still drawn even though edge is completely covered by a node 
#2563


Compare: 
https://github.com/cytoscape/cytoscape.js/compare/4e197c75dd59...99d592bd695c

-- 
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/unstable/4e197c-99d592%40github.com.

Reply via email to