code: def isa_to_graph(isa: ISA) -> nx.Graph:
      
      return nx.from_edgelist(e.targets for e in isa.edges if not e.dead)
docs: Construct a NetworkX qubit topology from an ISA object.
  
      This discards information about supported gates.
  
      :param isa: The ISA.