def list_data_connections(graph):
    return [(u,v) for u,v,data in graph.edges_iter(data=True)
                      if data.get('conn')]
Return all edges that are data connections
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.main/src/openmdao/main/depgraph.py/list_data_connections