block by jalapic 1465b2896dd8dcb6581300576f56ea4c

Modifying a Force Layout II

Full Screen

This example modifies a force-layout with transitions for smooth enter and exit. An interesting technique here is the use of transition.attrTween to keep the exiting links connected to the moving nodes, even after the links have been removed from the link selection.

forked from mbostock‘s block: Modifying a Force Layout II

index.html