Skip to content

Can't use images when smoothCurves enabled

Hey guys, I found a bug (again 😄 ) - sorry for that, but I am trying to get the most of this wonderful library.

So, if I set in the options: set smoothCurves: true,

it works fine, until I change a node shape to image: nodes: { shape: 'image', image: './img/router.png', },

Afterwards, the graph isn't able to load, in the javasript console I get: Uncaught TypeError: Object # has no method 'load'

I tried with my project and the 25_physics_configuration.html example. Thanks

Edit: Where may I bring up suggestions for new features/options?