def all_comps(g):
    return [n for n in g.nodes_iter() if is_comp_node(g, n)]
Show image with foreground and background areas.
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.main/src/openmdao/main/depgraph.py/all_comps--crossover with--dataset/ETHPy150Open jesolem/PCV/PCV/tools/graphcut.py/show_labeling