class_docstr: Structure to discover and store `Dataset` dependencies.
  
  Used primarily by the `Scene` object to organize dependency finding.
  Dependencies are stored used a series of `Node` objects which this
  class is a subclass of.
class_docstr_tok: ["Structure","to","discover","and","store","`","Dataset","`","dependencies",".","Used","primarily","by","the","`","Scene","`","object","to","organize","dependency","finding",".","Dependencies","are","stored","used","a","series","of","`","Node","`","objects","which","this","class","is","a","subclass","of","."]
docstr: Update 'name' property of a node and any related metadata.
docstr_tok: ["Update","'name","'","property","of","a","node","and","any","related","metadata","."]
code: def update_node_name(self, node, new_name):
      """Update 'name' property of a node and any related metadata."""
      old_name = node.name
      if old_name not in self._all_nodes:
          raise RuntimeError
      del self._all_nodes[old_name]
      node.update_name(new_name)
      self._all_nodes[new_name] = node
  
imports: from __future__ import annotations
  from typing import Container, Iterable, Optional
  import numpy
  from satpy import DataID, DatasetDict
  from satpy.dataset import ModifierTuple, create_filtered_query
  from satpy.dataset.data_dict import TooManyResults, get_key
  from satpy.node import EMPTY_LEAF_NAME, LOG, CompositorNode, MissingDependencies, Node, ReaderNode
label_desc: Use image node_id 4 for calling the DependencyTree obj's underlying member method code with example usage: obj.update_node_name(node, new_name) without return types