Branch: refs/heads/master
  Home:   https://github.com/cytoscape/cytoscape.js
  Commit: b43a6a0b2c7ee42d9b5aca6ab5239dc946bfb363
      
https://github.com/cytoscape/cytoscape.js/commit/b43a6a0b2c7ee42d9b5aca6ab5239dc946bfb363
  Author: Max Franz <maxkfr...@gmail.com>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M src/extensions/renderer/base/coord-ele-math/labels.js

  Log Message:
  -----------
  In the text dimension calculations, `white-space: pre` must always be used.  
In order to get accurate text dimensions, the DOM must be used.  Previously, 
`white-space: pre` was applied to the DOM element only for wrapped labels in 
order to take into account newlines.  Because Cytoscape labels do not collapse 
spaces like text elements in the DOM do, we must use `white-space: pre` to take 
into account labels with multiple spaces in a row.

Ref: A label may be cut off if it contains two or more whitespace characters in 
a row #2596


  Commit: 87c7982d4479601d867eac02441a68cf04b3bd3c
      
https://github.com/cytoscape/cytoscape.js/commit/87c7982d4479601d867eac02441a68cf04b3bd3c
  Author: Max Franz <maxkfr...@gmail.com>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

  Changed paths:
    M src/extensions/renderer/base/coord-ele-math/edge-endpoints.js

  Log Message:
  -----------
  The edge endpoint calculation should consider label intersections towards the 
centre of the node rather than the centre of the label.  The calculation 
erroneously uses the node shape intersection function -- this function is 
specious for this purpose.  The generic polygon intersection function under 
`math` should be used instead.  As before, the closest intersection point is 
used.

Ref: Outside-to-line-or-label intersects towards the centre of label rather 
than the centre of the node #2597


Compare: 
https://github.com/cytoscape/cytoscape.js/compare/d164927c9b32...87c7982d4479

-- 
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/master/d16492-87c798%40github.com.

Reply via email to