angular-visjs
angular-visjs copied to clipboard
Set node size and image size when shape is 'circularImage'
Is it possible to set a size for a 'circularImage' node without to scale image proportionally before draw network?
Thank's for Vis.js!
I have fixed it changing vis.js file, replacing
width = this.options.size * 2 * ratio_width; height = this.options.size * 2 * ratio_height;
By
width = this.options.size * 1.3 * ratio_width; height = this.options.size * 1.3 * ratio_height;
at line 14236.