Levin Dixon asked how to create a path with rounded corners. The provided curves in d3 adjust the entire path, not just area around the data points.
This might look a better with an A
command instead of C
, but circles are hard.
license: mit |
Levin Dixon asked how to create a path with rounded corners. The provided curves in d3 adjust the entire path, not just area around the data points.
This might look a better with an A
command instead of C
, but circles are hard.
Implementing a variation of Joachim Ungar's curved label placement method described here. The basic process is:
<textPath>
.This is a fork of mbostock's block: Force-Directed Graph where I've added a voronoi overlay. This could have a practical use by not having to click directly on a node in order select it and drag it.
From the original block:
This simple force-directed graph shows character co-occurence in Les Misérables. A physical simulation of charged particles and springs places related characters in closer proximity, while unrelated characters are farther apart. Layout algorithm inspired by Tim Dwyer and Thomas Jakobsen. Data based on character coappearence in Victor Hugo's Les Misérables, compiled by Donald Knuth.
license: mit |
license: mit |
license: gpl-3.0 |
license: gpl-3.0 |
license: mit |