![]() ![]() The library needs to have a flexible styling system where we can decorate graph properties such as node and edge shapes, colors, sizes, etc. For them to work, the most computationally expensive operations mustn’t depend on the DOM (Document Object Model), because WebWorkers don’t have access to the browser window reference, so any library that depends on that won’t perform well. In web technologies, multithreading is done via WebWorkers. It would be perfect if the library were fast, but the multithreading capabilities were even more important. To estimate this, we judged the contenders’ documentation on a subjective scale from 1 to 5. ![]() Ideally, the library has to be easy to use to shorten our development time. We measured the popularity by GitHub stars, npm weekly downloads, and how long ago was the latest publish date. And although a passionate community still supports it, we preferred an up-to-date library with official support from the original creators. This was a key requirement since our existing Memgraph Lab implementation relied on a not-so-recently deprecated library - Vis. The library in question needs to be popular and maintained. We already used a graph visualization library in our previous Memgraph Lab implementation, so we knew what we were looking for this time around. We highlight their pros and cons and, finally, pit them against each other in a battle of benchmarks. Then we present contenders that made it to the final cut. In this blog post, we first outline the focus points of our research, in other words, which requirements the library must meet to satisfy our demands. There are more amazing standalone projects and commercial products such as Graphistry that do not fit our use case and are out of the scope of this research. The main focus of our research was JavaScript libraries since we were looking for a tool to integrate into our ecosystem. Some have a very wide use case, others are popular but out of date, while the rest have performance issues or provide a terrible developer experience. There are a lot of visualization options out there. In our pursuit of creating the go-to platform for graph development, we researched existing graph visualization libraries since our old Memgraph Lab implementation struggled with performance issues. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |