Branch: refs/heads/unstable
Home: https://github.com/cytoscape/cytoscape.js
Commit: 40a1a8f1e9e9e086ff8f4e43fb122194a2252b1f
https://github.com/cytoscape/cytoscape.js/commit/40a1a8f1e9e9e086ff8f4e43fb122194a2252b1f
Author: Max Franz <[email protected]>
Date: 2018-09-06 (Thu, 06 Sep 2018)
Changed paths:
M documentation/md/collection/boundingBox.md
M src/collection/dimensions/bounds.js
M src/collection/element.js
M src/extensions/renderer/canvas/drawing-edges.js
M src/extensions/renderer/canvas/drawing-elements.js
M src/extensions/renderer/canvas/drawing-label-text.js
M src/extensions/renderer/canvas/drawing-nodes.js
M src/extensions/renderer/canvas/ele-texture-cache-lookup.js
M src/extensions/renderer/canvas/ele-texture-cache.js
M src/extensions/renderer/canvas/index.js
M src/extensions/renderer/canvas/layered-texture-cache.js
M src/math.js
M src/style/apply.js
Log Message:
-----------
Add support for caching element labels separately from element bodies.
Squash merge label-texture feature branch:
- Parameterise the element texture cache with the key lookup and drawing
functions. This is currently used for element bodies and element labels. It
could also be applied to edge arrows.
- Store separate bounding boxes for the labels, element bodies, and edge
arrows. These bounds are necessary for using the element texture caches.
- Update the cached bounds shift strategy to take into account the sub-bounds.
Update the shift a bit more lazily so it's less ops per shift --- and only
shift the individual values once per n-miss-1-get cycle.
- Caches within a texture are recoverable as long as the texture is not
retired. This reduces memory usage and increases execution speed.
- Fixes `ElementTextureCacheLookup` diffs.
- Updates to `ele.boundingBox()` docs.
- Increase the levels at which the element texture cache can operate to try to
get more hits.
Refs:
- Cache element textures per style context stack #1337
- Cache label textures separately from element textures #1270
- Cache edge arrow textures separately #1616
**NOTE:** This service has been marked for deprecation:
https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
--
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/cytoscape-cvs.
For more options, visit https://groups.google.com/d/optout.