Open curran opened 4 years ago
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.
The tricky part is measuring the text.
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.