Chinmay Kulkarni

Results 5 comments of Chinmay Kulkarni

Below is my entire code........ now i want to import a local svg file and then replace it with the existing nodes based on some condition like if (node.value >...

i am not getting where will i replace the node with an svg......Is there somthing like ctxImage = high.svg.... what is the command ?

also how to import an svg file in a local folder in the javascript(react) file and store it in a variable to use it in the nodeCanvasObject

Can you please use the above code and help me with the code to replace the default node with attached svg file and reproduce the same graph. I have attached...

https://codesandbox.io/s/lopxe?file=/src/App.js ----> codesandbox link, [healthy.txt](https://github.com/vasturiano/react-force-graph/files/6431714/healthy.txt) Please help me with the code to replace the default node with attached svg file and reproduce the same graph. I have attached a text...