def equal(graph1, graph2):
    """Eqaulity of two graphs.

    Parameters
    ----------
    graph1 : regraph.Graph
    graph2 : regraph.Graph


    Returns
    -------
    bool
        True if two graphs are equal, False otherwise.
    """
    return graph1 == graph2
