import yaml


def get_dependency_graph(path="configs/dependency-graph.yaml"):
    """Load dependency_graph file
    
    Parameters
    ----------
    path : str, optional
        dependency-graph.yaml path, by default 'configs/dependency-graph.yaml'
    
    Returns
    -------
    dict
        variables from dependency-graph.yaml
    """

    config = yaml.load(open(path), Loader=yaml.Loader)

    return config