Branch: refs/heads/unstable
  Home:   https://github.com/cytoscape/cytoscape.js
  Commit: 7f5b63c2483988dcc0671b500458cee0c52f3d19
      
https://github.com/cytoscape/cytoscape.js/commit/7f5b63c2483988dcc0671b500458cee0c52f3d19
  Author: Max Franz <maxkfr...@gmail.com>
  Date:   2019-01-25 (Fri, 25 Jan 2019)

  Changed paths:
    M documentation/docmaker.json
    M documentation/md/collection/data.md
    M documentation/md/collection/move.md
    M documentation/md/collection/removeData.md
    M documentation/md/events.md
    M documentation/md/notation.md
    M src/collection/index.js
    M src/extensions/renderer/base/coord-ele-math/z-ordering.js
    M src/extensions/renderer/base/index.js

  Log Message:
  -----------
  Avoid copying element json in `ele.move()` #1459

- Add `addToPool` and `removeFromPool` options (for private use only) to 
`eles.restore()` and `eles.remove()`.  The signature is now like this: 
`ele.remove(notifyRenderer, removeFromPool)`, so calls with `(false, false)` 
arguments allow all of the remove and restore cleanup to be applied to elements 
that aren't actually removed from the graph --- and without notifying the 
renderer or emitting `remove` or `restore` events.
- This new internal feature allows for `eles.move()` to modify existing 
elements in-place rather than creating modified copies.
- Batching is used to avoid redundant style updates as a remove-restore pair 
would normally do.
- Add a `move` event for when `ele.move()` is called.
- Update the z-order sorting in the base renderer when a `move` notification is 
received.  This only need to happen in compound graphs. because moving edges 
does not influence the z-ordering.
- Update docs for `eles.move().
- Add docs for `move` event.
- Aside: Remove redundant collection creation within `remove()`.
- Aside: Clean up z-ordering code a bit in the base renderer.
- Aside: When removing parent=>child ref in `remove()`, the child=>parent ref 
should also be removed.



      **NOTE:** GitHub Services has been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      We will provide an alternative path for the email notifications by 
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 cytoscape-cvs+unsubscr...@googlegroups.com.
To post to this group, send email to cytoscape-cvs@googlegroups.com.
Visit this group at https://groups.google.com/group/cytoscape-cvs.
For more options, visit https://groups.google.com/d/optout.

Reply via email to