react-d3-tree icon indicating copy to clipboard operation
react-d3-tree copied to clipboard

Display image instead of primitive figures

Open j-barata opened this issue 7 years ago • 7 comments

Hi,

Is there any method to render the node itself as a pre-defined image ?

Using fill="url(...)" could be a solution but I can't any way to define a SVG image or pattern

Thanks

j-barata avatar Mar 15 '18 10:03 j-barata

Hi @j-barata,

Apologies for the delayed response! This isn't currently possible but I'll take this as a feature request :)

For now I'm going to prioritise resolving #46 and #8 with the spare time I currently have for the library, but feel free to add a PR with this feature if it's something you'd like to see.

bkrem avatar Mar 27 '18 13:03 bkrem

thanks for your answer

j-barata avatar Mar 27 '18 16:03 j-barata

Thanks 👍, i too wait this function :)

graniet avatar Jun 03 '18 10:06 graniet

I too wait this :(

usman-ali-siddiqui avatar Sep 19 '18 11:09 usman-ali-siddiqui

@bkrem mind if I pick up this issue?

alex0112 avatar Oct 31 '18 20:10 alex0112

That would be great @alex0112!

Feel free to open a WIP PR if you want to discuss the implementation; I will make sure to address any questions or concerns you have.

bkrem avatar Nov 01 '18 09:11 bkrem

This can be an option https://github.com/bkrem/react-d3-tree/issues/182#issuecomment-514230654

sagar270690 avatar Jul 23 '19 14:07 sagar270690