Live data from Hacker News

NetworkX 3.0 - create, manipulate, and study complex networks in Python

networkx.org

11–20 of 58 posts

Re: NetworkX 3.0 - create, manipulate, and study complex networks in Python

#11
By the way if you want to explore network science but don't really know where to start, consider Gephi (currently being refactored, and just updated a few days ago) or Cytoscape (if you're more drawn to bioinformatics).

Both make it easy to load/generate standard datasets, import tabular data, and have a good selection of plugins. It's easy to kick stuff out to either from NetworkX using /gefx or graphml, and you'll be able to experiment with a wide variety of layout algorithms and metrics. If you don't find the toy/benchmark networks intuitive, considering hitting the HN API for your source material; it's a lot easier to grasp the topic by studying relationships that are already familiar.

Re: NetworkX 3.0 - create, manipulate, and study complex networks in Python

#12

Earlier quoted context omitted.

I've updated it based on your suggestion. I originally left off a description because NetworkX is the library for doing graph things in Python and I kind of assumed people would know. While it's not the most performant or cutting edge, it's so well-established that everyone else aims for interface compatibility with it, much like pandas and tabular data. It's pretty neat that they've decided to leverage this by openi…

"the library"? Igraph and graph tool might have something to retort to that. Up until this update, they were far far faster too (and still likely are if you ignore the ability in this update to specify different backends)

I always used IGraph because there are both R and Python versions, and I learned R first. I never had any complaints about it for the baby-scale problems I used it for, so I never bothered to try NetworkX.

Re: NetworkX 3.0 - create, manipulate, and study complex networks in Python

#14

Earlier quoted context omitted.

"the library"? Igraph and graph tool might have something to retort to that. Up until this update, they were far far faster too (and still likely are if you ignore the ability in this update to specify different backends)

Yes. I noted that it's not the most performant, indeed it's famous for being slow. But it's so popular, has such extensive code coverage, and such a simple API that it's gained default status, not unlike how Python is the default language for data science despite its limitations.

[dead]

Re: NetworkX 3.0 - create, manipulate, and study complex networks in Python

#17
post #2

NetworkX is a Python package for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks. At some point it might really start to be more efficient to have tags for the posts

I've updated it based on your suggestion. I originally left off a description because NetworkX is the library for doing graph things in Python and I kind of assumed people would know. While it's not the most performant or cutting edge, it's so well-established that everyone else aims for interface compatibility with it, much like pandas and tabular data. It's pretty neat that they've decided to leverage this by openi…

It was my go-to package in python, when I had to build graphs and ascertain acyclicity, single source, shortest path. They weren't huge graphs (at most 100s of elements), so networkx certainly did the work fast enough.
Post reply on HN