import { Tree } from '@nrwl/devkit';
import { createProjectGraph } from '../core/project-graph/project-graph';

// TODO(v13): remove this deprecated method
/**
 * @deprecated This method is deprecated and is synonymous to {@link createProjectGraph}()
 */
export function createProjectGraphFromTree(tree: Tree) {
  return createProjectGraph(undefined, undefined, undefined);
}
