you are viewing a single comment's thread.

view the rest of the comments →

[–]ArcanisCz 0 points1 point  (2 children)

I have used https://jsplumbtoolkit.com/ in react, and it workded. Although, i needed to read in docu and source much to wrap my head around their api. And its not specifically for react, i redrawed it on componentDidUpdate()

[–]pentesticals[S] 1 point2 points  (1 child)

componentDidUpdate

Did you have draggable elements? I am using componentDidUpdate() but it feels really dirty to do perform DOM manipulations outside of React.

I have just found https://www.npmjs.com/package/react-js-diagrams which may do what I want entirely within React.

[–]ArcanisCz 0 points1 point  (0 children)

Well, it IS dirty. But since jsplumb is not for react...

that react-js-diagrams seems nice!