code: def _min_weight(weight):
      return -weight
  
imports: import string
  from dataclasses import dataclass, field
  from enum import Enum
  from operator import itemgetter
  from queue import PriorityQueue
  import networkx
  from networkx.utils import py_random_state
  from .recognition import is_arborescence, is_branching
label_desc: Use image node_id 2 for calling a global function with example usage: _min_weight(weight) and returns: unknown