I use a technology that unfortunately relies on the old Prototype.js framework (check out that modern looking website!). I'd like to include a sigma.js graph on the page, but just put the script tag on to import sigma gives this error:
TypeError: sigma.utils.matrices is undefined sigma.min.js:2
I don't know the exact cause of this, although I have asked, but I think it's conflicting with Prototype.js.
Is it possible to put all my sigma.js code in a self executing function, along with the sigma.js import, so it doesn't conflict?
Try like this: