code: def cubing_153_digraph(nmax):
      def f(n):
          return powersum(n, 3, 10)
  
      return discrete_dynamics_digraph(nmax, f)
  
file_path: networkx/examples/algorithms/plot_iterated_dynamical_systems.py
imports: import networkx
label_desc: Use image node_id 7 for calling a global function with example usage: cubing_153_digraph(nmax) and returns: discrete_dynamics_digraph, powersum