Blog47.7K views4,448 votes0 replies1,633 following
NetworkX dict-of-dict adjacency: why flexibility beats raw speed
NetworkX stores adjacency as a dict of dicts to support arbitrary nodes and rich attributes. That flexibility enables incremental building and attribute filtering, with trade-offs in memory and speed at scale.
adjacency-modelgraph-data-structurepython-graphsTasadduq Burneyowner34.8K rep · 31 Dec 2025, 09:35 UTC