question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Concerning undelying graph data structure / model API : `ngraph` vs `graphology`

See original GitHub issue

ngraph vs graphology

Not urgent, just wanted to share graphology and get your thoughts on it compared to ngraph for reagraph’s underlying graph data structure 😄

grapology highlights

Compared to ngraph,graphology supports a more rich out of the box API for the graph:

  • comprehensive standard library of algorithms, graph generators, layouts traversals , event listeners & utility functions CleanShot 2022-08-07 at 07 59 53@2x
  • layout algorithms offer sync and async versions (using web workers) The library is used by other more recent graph libraries like sigmajs and pixi-graph for the graph backend.

Besides the rich API, another strong aspect for the library is that its a community driven effort to help graph libraries share layouts, algorithms etc. In practice this means someone using sigmajs for example could move to pixi-graphor even reagraph (if it used graphology) since they share the same underlying graph structure Jan Zak, talks about graphology in this YouTube video here

Centralized documentation

  • Ngraph’s packages are all scattered across different individual repos. Whereas’s graphology has everything in one mono-repo
  • For those wanting to customize reagraph, the centralized documentation with graphology is a big DX & productivity win

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
cliffordfajardocommented, Sep 27, 2022

I don’t think I’ll get around this as I was originally planning to opportunistically do this work concurrently with tasks I had at work, but the dataviz project I was working on got scrap’d

just wanted to provide an update in case anyone was wondering or passed this thread in the future

1reaction
cliffordfajardocommented, Aug 11, 2022

Thanks for sharing this - never seen graphology before. I’m open to exploring it. Would you be interested in taking a first stab at it?

I’m interested - busy at work & life transitions, but can’t really give an ETA 😅 Created the issue mostly so I don’t forget to revisit / get feedback for now

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · reaviz/reagraph - GitHub
Contribute to reaviz/reagraph development by creating an account on GitHub. ... Concerning undelying graph data structure / model API : ngraph vs graphology...
Read more >
A Comparison of Javascript Graph / Network Visualisation ...
We evaluated 8 different graph visualisation packages in areas spanning performance, algorithms and components.
Read more >
Graphology: Home
graphology is a robust & multipurpose Graph object for JavaScript and TypeScript. It aims at supporting various kinds of graphs with the same...
Read more >
18.2 Representing Graphs · Hug61B - joshhug
We will discuss our choice of API, and also the underlying data structures used to represent the graph. Our decisions can have profound...
Read more >
8 Best Free JavaScript Graph Visualization Libraries
This post will give you a brief overview of the features in some of the best free JavaScript graph visualization libraries.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found