I'm trying to get jsPlumb to work inside a lightning component and I'm stuck in the beginning (https://jsplumbtoolkit.com/community/doc/home.html#container). When I try to initialize container, i get errors: "Container is not at eval". I guess it has something to do with locker service and access to a specific div with its ID? Is there any workaround on this?
I've got quite a lot of code, but in general I have a div with a specific id=mainContainer, inside that div i have some elements that I want to connect with jsPlumb magic - to do so, I need to provide to library the parent element of those elements, I guess that would be my 'mainContaier'. I tried couple different things, including setting aura:id and getting element with 'component.find() etc. I'm basically out of ideas. Thanks in advance!