d3-area-label icon indicating copy to clipboard operation
d3-area-label copied to clipboard

Make independent of D3 DOM Manipulation

Open curran opened this issue 5 years ago • 1 comments

As a user of Svelte or React, I want to be able to place labels using this library without having to use D3 selections for DOM manipulation.

Currently, the only way to use this library is to use D3 selections.

The original reasoning behind this was related to measuring the length of the text (I think).

I'm open to suggestions/PRs/ideas for how to disentangle the label placement from the DOM manipulation.

curran avatar Mar 30 '20 22:03 curran

The tricky part is measuring the text.

curran avatar Oct 09 '21 13:10 curran