I'm testing VisJS for network diagram, I'm trying to find a way to put an image within the shape square node. I know shape can be specified as image but that will only make the node as an image.
Example: This example is only using a regular node shape with text and want to add an image within the shape. http://visjs.org/examples/network/nodeStyles/widthHeight.html
My Sample: I want John Smith cat image and label to be in a square shape node.
http://plnkr.co/edit/nKqOWWSu1yWxx3bPdHUw?p=preview.
Wanted to know if its possible to put text and image within the square node?