parameters: (graph)
return_statement: return tracks, images
docstring: List of tracks and images in the graph.
docstring_summary: List of tracks and images in the graph.
docstring_tokens: List of tracks and images in the graph .
function: def tracks_and_images(graph):
      """List of tracks and images in the graph."""
      tracks, images = [], []
      for n in graph.nodes(data=True):
          if n[1]['bipartite'] == 0:
              images.append(n[0])
          else:
              tracks.append(n[0])
      return tracks, images
function_tokens: def tracks_and_images ( graph ) : tracks , images = [ ] , [ ] for n in graph . nodes ( data = True ) : if n [ 1 ] [ 'bipartite' ] == 0 : images . append ( n [ 0 ] ) else : tracks . append ( n [ 0 ] ) return tracks , images