Ease of Use
NetworkX provides a simple and intuitive API that makes it easy for both novices and experienced users to create, manipulate, and study the structure and dynamics of complex networks.
Comprehensive Documentation
The library is well-documented with a vast number of examples and tutorials, aiding users in understanding and applying the features effectively.
Rich Functionality
NetworkX offers numerous built-in functions to analyze network properties, perform algorithms like shortest path and clustering, and handle various graph types such as directed, undirected, and multigraphs.
Integration with Python Ecosystem
Being a Python library, NetworkX integrates seamlessly with other scientific computing libraries like NumPy, SciPy, and Matplotlib, allowing for extensive data analysis and visualization.
Active Community
NetworkX's active community of users and developers means continuous improvements and updates, as well as a wealth of shared knowledge and code to draw upon.
If you are interested in the subject, also take a look at NetworkDisk[1] which enable users of NetworkX[2] which maps graphs to databases. [1] https://networkdisk.inria.fr/ [2] https://networkx.org/. - Source: Hacker News / 2 months ago
In the project we used Python lib networkx and a DiGraph object (Direct Graph). To detect a table reference in a Query, we use sqlglot, a SQL parser (among other things) that works well with Bigquery. - Source: dev.to / over 1 year ago
If you program in Python, can use NetworkX for that. But it's probably a good idea to implement the basic algorithms yourself at least one time. Source: over 1 year ago
For those wanting to play with graphs and ML I was browsing the arangodb docs recently and I saw that it includes integrations to various graph libraries and machine learning frameworks [1]. I also saw a few jupyter notebooks dealing with machine learning from graphs [2]. Integrations include: * NetworkX -- https://networkx.org/ * DeepGraphLibrary -- https://www.dgl.ai/ * cuGraph (Rapids.ai Graph) --... - Source: Hacker News / over 1 year ago
Org-roam-ui is a great interactive visualization tool, but its main use is visualization. The hope of this library is that it could be part of a larger graph analysis pipeline. The demo provides an example graph visualization, but what you choose to do with the resulting graph certainly isn't limited to that. See for example networkx. Source: almost 2 years ago
Back in college, I had an assignment deadline coming up and I wanted to work on it in the train since I had an 8-hour journey ahead of me. It was about some analysis of graph data, which used a Python package called NetworkX. The train's WiFi didn't allow me to access their documentation because it apparently thought it was porn. Source: almost 2 years ago
I had some success using Networkx in the past: https://networkx.org/. Source: about 2 years ago
Networkx will do a lot of that work for you, including some graphics. Source: about 2 years ago
Common graph databases are network-based for scaling purposes. Sqlite is a in-file database. So just run graph algorithms on a stringifed json stored as a text on sqlite. See the networkx module for the common graph algorithms https://networkx.org/. - Source: Hacker News / over 2 years ago
There is also networkx (https://networkx.org/) which implements a Graph and a DiGraph class and allows kinds of useful manipulations/computations on graphs, if OP wants to go down that route. Source: over 2 years ago
Sure! I didn't actually use any path-finding algorithm -- I used networkx to do the pathfinding. Essentially, I created a directed graph in networkx which allowed me to model each location as a node and then place a directed edge between them if I was allowed to move from one to the next following the rules (wasn't jumping up more than one step at a time). Once I had built the map, I used the shortest_path_length... Source: over 2 years ago
Networkx. The hard-to-find but very powerfull module for working with graphs (as in: 🕸️ networks, not as in: 📈📊 graphical charts). Source: over 2 years ago
I depends, what you need. I used networkx, because you can use any hashable object as node: https://networkx.org/. Source: over 2 years ago
I'm trying to iteratively save about 1000 images. Each image is a picture of a graph from networkx. The problem is that after about 500 images my computer crashes from memory overload. Source: over 2 years ago
I have used Pyvis for this kind of graph visualizations. Not sure how well it works for your case though. Also works in combination with networkx, which is a python graph library. Source: over 2 years ago
Would a graph be a better structure to traverse the data vs a list? Especially if you require I and i+1 to be the most similar nodes. You could use NetworkX and cosine similarity as the edge weights. Source: over 2 years ago
I used Python, networkx, and pyviz to make this. If you want to look at it closer or look at the code you can check out my git. Source: almost 3 years ago
Yeah networkx. There’s a link to my hit somewhere that you can look at the code to if you want to see how it works. I will say I haven’t cleaned it up yet. But it’s there…. Source: almost 3 years ago
Use https://networkx.org/ to graph your topology :). Source: almost 3 years ago
Furthermore, you only start to value weak typing when you meta-program, and Python solves those things much more elegant than for example C++ templates ... a good example for this are libs like networkx which allow to build smart networks where the nodes can be any objects, or scipy's LinearOperator class which allows you to easily redefine complex differential equation solvers as matrices and throw them at the... Source: almost 3 years ago
Those algorithms are all already available in certain python or R libraries (e.g. https://networkx.org/ for python). You could also implement it yourself since all these graph algorithms are documented really well. Source: about 3 years ago
Do you know an article comparing NetworkX to other products?
Suggest a link to a post with product alternatives.
This is an informative page about NetworkX. You can review and discuss the product here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.