Note
This documents the development version of NetworkX. Documentation for the current release can be found here.
flatten
Return flattened version of (possibly nested) iterable object.