@classmethod
def build_from_edge_label_tuples(cls, tuples, additional_labels=None
    ) ->'Graph':
    """
        Build a graph from a iterator of edge label tuples.
        """
    graph = cls()
    graph._init_label_to_node(tuples, additional_labels)
    return graph
