News for hackers. Stuff that matters.
Re:How to build a graph visualization engine by erwinh on Friday September 16, 2022 @12:57PM (#32868919)
Recently a new web-based fully gpu driven graph visualisation engine was released and it could handle quite some big graphs directly in the browser: https://twitter.com/hoogerwoord/status/1568188361503907840?s...

Happy that people are building new graph visualisation engines and I think still a very open space for innovation in interactively exploring graph/network structures.

Re:How to build a graph visualization engine by cizl on Friday September 16, 2022 @02:12PM (#32869941)
Cosmos really looks amazing when it comes to performace. Besides visual rendering on the GPU, they also do the graph layout simulation calculations on the GPU as well, which is a first. SigmaJS for example uses graphology for the calculations, and WebGL for rendering.

Cosmos is a really new lib, so when we did our initial research it wasn't even out yet. You can read more about our research over here: https://memgraph.com/blog/you-want-a-fast-easy-to-use-and-po...

From what we've understood, it's somewhat limited when it comes to graph styling. But an amazing technology nontheless.

Re:How to build a graph visualization engine by xtracto on Friday September 16, 2022 @06:04PM (#32872582)
I'm currently using vis-network [1] as the graph display for a Fraud analysis UI. Cosmos looked really good when I checked it but as you very well mention it wasn't able to style vertices with different images/icons and not sure if it was able to style edges color and width. All of this is heavily used in my use case. Hopefully it gets these features as it matures

[1] https://github.com/visjs/vis-network

Re:How to build a graph visualization engine by justtoni on Friday September 16, 2022 @06:41PM (#32872950)
vis-network is a great library. We actually started with it because we liked the API, the styling capabilities, easy to use event handlers. But we experienced performance issues when we wanted to simulate and render larger graphs because it was done in the main thread, the whole UI was blocked by it. We tried to fix it in vis, but simulation was using DOM so it was super hard to split simulation and renderer.

Actually that was the main reason (along with the note that main authors are not contributing to visjs any more [1]) for a creation of the Orb where we fixed the blocking UI issue with graph simulation. Orb engine has two parts now:

* Simulator that doesn't depend on the DOM so we can move its heavy calculation to the web worker - we use d3-force for it [2]

* Renderer is pretty much influenced by vis-network, using similar style mechanism and canvas drawing capabilities (we credited vis-network in our code for those sections)

[1] https://github.com/almende/vis/issues/4259#issue-412107497

[2] https://github.com/d3/d3-force

Re:How to build a graph visualization engine by mbuda on Friday September 16, 2022 @01:39PM (#32869483)
https://github.com/cosmograph-org/cosmos seems super nice! Yep, it's amazing to see better and better tooling around!
Re:How to build a graph visualization engine by nextaccountic on Friday September 16, 2022 @05:28PM (#32872221)
Is it open source? Or does it have a website? The tweet wasn't clear
Re:How to build a graph visualization engine by kasupe on Friday September 16, 2022 @02:04PM (#32869827)
Wow! Looks nice :) Thanks for sharing
Re:How to build a graph visualization engine by twoWhlsGud on Friday September 16, 2022 @03:14PM (#32870712)
Interesting license choice - Creative Commons Attribution-NonCommercial.
Re:How to build a graph visualization engine by erwinh on Tuesday September 27, 2022 @07:07PM (#33002289)
Yeah I respect the choice although would have liked to see a different license.