def update_radialnet_unchecked(self): hosts_up = self.network_inventory.get_hosts_up() graph = make_graph_from_hosts(hosts_up) self.radialnet.set_empty() self.radialnet.set_graph(graph) self.radialnet.show()
def update_radialnet(self): """Creates a graph from network inventory's host list and displays it.""" graph = make_graph_from_hosts(self.network_inventory.get_hosts()) self.radialnet.set_empty() self.radialnet.set_graph(graph) self.radialnet.show()