Skip to content
Advertisement

Unable to add Nodes or shapes in Jsplumb community edition

I am using the @jsplumb/browser-ui to create some Nodes within my Nuxtjs/Vuejs application like as mentioned in their documentation. But I would like to create the Nodes at run-time. I am unable to do it.

I would like to create the nodes/rectangle shapes whenever the user clicks on the Add Event button. So rather than creating the Nodes static way I would like to create it dynamically/run time based on the button click. I am not understanding how to do it using jsPlumb documentation how to do it as they don’t have a specific code sample to achieve the same.

Following is the code I have:

JavaScript

Advertisement

Answer

Hoping this answer would be helpful to someone in the future:

As per the response from contributors GitHub, we cannot create the Nodes/Shapes within the Jsplumb community edition.

Instead of Jsplumb, I started using the DrawFlow library which is just awesome and has all the requirements that I needed for my application.

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement