using this http://bl.ocks.org/950642 we can see how to add images to nodes, the question now is how to add different images on the nodes depending on the json data, for example if it has value group:0 to have one image on that node where group:1 node will have another image. as i could see the creation of the nodes goes by the json and it add same class to all nodes so which way could this be altered to have different images depending on the json data.
using this http://bl.ocks.org/950642 we can see how to add images to nodes, the question
Share
Define the “xlink:href” attribute as a function of data rather than a constant. For example: