code: def fixed_points(G):
      """Return a list of fixed points for the discrete dynamical
      system represented by the digraph G.
      """
      return [n for n in G if G.out_degree(n) == 0]
  
file_path: networkx/examples/algorithms/plot_iterated_dynamical_systems.py
imports: import networkx
label_desc: Use image node_id 10 for calling a global function with example usage: fixed_points(G) and returns: unknown