original_docstring: Populate the given graph with information
docstring: Populate the given graph with information
docstring_tokens: Populate the given graph with information
code: def populate_graph(self, graph):
          """Populate the given graph with information"""
          for net_cidr, net_obj in itertools.chain(self.ipv4_networks.items(), self.ipv6_networks.items()):
              name = self.network_names.get(net_cidr, '')
              desc = GraphvizSafeLabel.escape('{} ({})'.format(net_cidr, name) if name else net_cidr)
              graph.add_ip_network(net_obj, desc)
code_tokens: def populate_graph ( self , graph ) : for net_cidr , net_obj in itertools . chain ( self . ipv4_networks . items ( ) , self . ipv6_networks . items ( ) ) : name = self . network_names . get ( net_cidr , '' ) desc = GraphvizSafeLabel . escape ( '{} ({})' . format ( net_cidr , name ) if name else net_cidr ) graph . add_ip_network ( net_obj , desc )
short_docstring: Populate the given graph with information
short_docstring_tokens: Populate the given graph with information
comment: """Populate the given graph with information"""