d3-hierarchy icon indicating copy to clipboard operation
d3-hierarchy copied to clipboard

node.copy drops node.id.

Open mbostock opened this issue 9 years ago • 2 comments

The node.id property is set by d3-stratify, but it isn’t an “official” part of the node interface, and so it’s not copied by node.copy. It’d be nice if it were.

mbostock avatar Oct 27 '16 21:10 mbostock

Related #33, node.name.

mbostock avatar Jan 11 '17 21:01 mbostock

I’m not sure we want to make node.id part of the official API; we might want node.name instead. I think this should be reconsidered as part of the effort to make hierarchies immutable. #148

mbostock avatar Nov 17 '19 01:11 mbostock