Skip to content

NetworkX 2.0 API ~ DRAFT

Joshua Harlow edited this page Aug 6, 2015 · 7 revisions

These are some ideas discussed regarding the 2.0 API

  • Rename all G.func_iter over G.func without changing the existing interfaces. (@MridulS is currently working on it)
  • Look at other (non-method) functions that currently produce lists which should produce iterators. Triangles, clustering_coefficient come to mind.
  • Add a G.query(u, v, key, data) function for database-style edge data queries. #1246(comment) looks like a good place to start discussion regarding the G.query() function
  • Should API differ for Di/Multi/Graphs? We should definitely investigate further this. #1246(comment) is a good place to start.
  • Support for MixedGraph and MixedMultiGraph #1168
  • Design Specification contains a previously proposed API.
  • Behaviour of G[u][v]/G[u][v][data]/G[u][v][key]/G[u][v][key][data] (How often do these show up in the existing codebase?)
  • Drop ability to freeze a graph. See #1698

Related issues: #1246, #1382

Clone this wiki locally