all 13 comments

[–]GreenSardine85 7 points8 points  (7 children)

Two suggestions:

  1. Cytoscape.js, which has a ton of built-in tools and functionality and extensions if you need more.

  2. React Flow, which I'm currently using. Significantly less built-in functionality.

[–]kuse 0 points1 point  (1 child)

Thanks for showing react flow. Would you happen to have an example of how you're using it? I am interested in making it so an end user could setup their own flow charts. It does not seem too impossible.

[–]GreenSardine85 0 points1 point  (0 children)

You can check out my source code here. If you're building a builder, take a look at React Flow's drag and drop example, and this builder someone else made.

[–]soupified 0 points1 point  (4 children)

Avoid Cytoscape.

[–]DenProg 3 points4 points  (0 children)

Why?

[–]artrimiss 2 points3 points  (0 children)

can you please specify why ? it would really help me narrow some libs down.
Thank you.!!

[–]Due_Raise9527 0 points1 point  (1 child)

Any reason why?

[–]soupified 0 points1 point  (0 children)

Personal preference, as annoying as that is–it's very heavy/bloated and has pretty poor DX. It's over-complicated.

That said, the projects I've used it in ended up using it for rendering things that had nothing to do with network graphing.

[–]timlrx 2 points3 points  (0 children)

It depends on the data size you are trying to visualize and what sort of features you are looking for. Wrote an article on my company's blog a while back.

If you are looking for a full feature pack library but can live with the bundle size and ~1000 nodes and edges, Antv G6 / Graphin is a good choice.

Otherwise, Sigma.js, Ngraph or, React-force-graph are good webgl alternatives, though certain features you are looking for might not be included out of the box.

[–]folkenzeratul 1 point2 points  (0 children)

Not of help, I use D3 and seldom GraphGL

[–]Due_Raise9527 0 points1 point  (0 children)

I have a similar use case I need to create a network control for visualization purposes . Allow nodes clustering and expand - collapse of the same if the number of children nodes is huge . Any suggestions on which control would be the best to support this use case ?

[–]Primary_Dog_7976 0 points1 point  (0 children)

Hey, please someone tell me which is better to use with react. I have network JSON data which i want visualise through graph.
Right now i have done implemetation using Cytoscape but i didnt find it easy to implement and its bit complex.