gwenaelp / vue-diagrams

Diagram component for vue.js, inspired by react-diagrams
MIT License
283 stars 64 forks source link

Question regarding pure Javascript #10

Open andean00 opened 3 years ago

andean00 commented 3 years ago

Hi there,

Nice project. I am very sorry to bother you with my lack of knowledge but I will take a chance to ask you my lame question anyways: I have seen the projectstorm react diagrams and then after almost a day of digging, I found your project. I am glad I did, because I am not using neither React nor Angular. I am using MS Blazor. A very simple way to interact with any client library is via javascript interop. It works fine with many projects so far (ex babylonjs, etc).

At first I tried to extract a minified javascript version of the original project storm react project to make the graphs work in Blazor, but there are many things that I do not get properly. and I cannot make it So, my question is: is there a way for me to simply include a couple of .js files and css from your project, and use it "as is" in plain javascript ? (no npm, no typescript, no yarn, etc. Just a reference to a plain vanilla minified javascript)

It is super hard to find a proper library that does Nodes with multiple ports and allow to connect edges on them ! Yours does it of course. Sorry to bother you again. Any hint is super appreciated !! Best regards,

Javier

gwenaelp commented 3 years ago

Hi,

Maybe https://cytoscape.org/ ?

andean00 commented 3 years ago

Thanks. I knew that project bt it is too big for what I need. I ended up investigating and using Pixyjs and so far so good. Have a good day !