Adds nodes to graph with node-labels as provided in function.
self._nodes_unsorted = [node_name for node_name in args]
self._nodes = sorted(self._nodes_unsorted, key=str.lower)
//using alphabetical order for all parameters internally
self.add_nodes_from({node:tuple()
for node in self._nodes})
After Change
Adds nodes to graph with node-labels as provided in function.
for item in args:
if type(item) != type("str"):
raise TypeError("Name of nodes must be strings.")
self.add_nodes_from(args)