Comments (2)
the new object stage would contradict #21, which i think i like better. after all, the new objects are often why other stuff has moved.
it's a question of whether to emphasize causality or separation of actions.
from dc.graph.js.
Two different modes of staged transitions are now supported via .stageTransitions(mode)
- Modify-insert (
mode === 'modins'
): first, old nodes and edges move to their new positions. Then inserted nodes and edges fade in. Node-node overlaps are mostly avoided during transitions because old nodes are in the correct positions before new nodes appear, and there is no superfluous movement. However, it can be confusing to see nodes move out of the way of something that is not yet there. - Insert-modify (
mode === 'insmod'
): first, new nodes and edges appear. Then old nodes and edges move to their new positions. This emphasizes causality because old nodes and edges move in response to both deletions and inserts. However, there may be temporary collisions if new nodes are inserted where old nodes used to be, and there is extra movement because old edges move twice.
No matter the staged transition mode, deletions always happen before layout calculation begins.
from dc.graph.js.
Related Issues (20)
- upgrade to modern D3
- "semantic zoom"
- highlight-neighbors is unreliable HOT 1
- do arrowheads and edge stubs work in angular? HOT 1
- layout algorithm directedness?
- options toggling on Edge
- user-select: none not working in Edge HOT 1
- explore.html?expanded=x with user file
- d3force layout doesn't work in simple viewer
- mod-key brushing doesn't select all contained nodes
- cola layout temporarily NaNs a lot of node positions
- edges not showing
- eliminate unqualified d3.selects in render_svg
- scoping event handlers to the chart
- layered_layout crashes if there are no nodes
- compatibility with yoga for flexbox layout HOT 1
- Rendering of nested subgraphs fails. HOT 1
- Merging the brushing-filtering function with simple viewer layouts using loaded data file HOT 14
- The altKeyZoom attribute doesn't work as described HOT 5
- Archiving this repo HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dc.graph.js.