Skip to content

Instantly share code, notes, and snippets.

@yongchun
Created November 6, 2013 08:31
Show Gist options
  • Save yongchun/7332752 to your computer and use it in GitHub Desktop.
Save yongchun/7332752 to your computer and use it in GitHub Desktop.
d3.js 多点固定
function dragstart(d) {
d.fixed = true;
d3.select(this).classed("fixed", true);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment