almende / vis

⚠️ This project is not maintained anymore! Please go to https://github.com/visjs
7.85k stars 1.48k forks source link

Use images with all node shape types #4151

Open DeZZar opened 6 years ago

DeZZar commented 6 years ago

Hi,

re: network

I was hoping you might be able to add the ability to use an image with all of the shapes which have an outside label. Apologies if this has already been requested.

Cheers, D

mojoaxel commented 5 years ago

@DeZZar I'm not sure what you mean.Could you please specify?

DeZZar commented 5 years ago

@mojoaxel currently you can only specify an image with the circularImage node shape. Why not also with a square, rectangle etc? I've solved this in my own implementation by writing code to paint images over the node shape but it seems a limitation of the library to only permit node images for one shape?