Skip to content

@ui5/project/graph/ProjectGraphBuilder ​

Methods ​

(static) default(nodeProvider, workspaceopt) → {@ui5/project/graph/ProjectGraph}
​

Description: Generic helper module to create a @ui5/project/graph/ProjectGraph. For example from a dependency tree as returned by the legacy "translators".

Source: project/lib/graph/projectGraphBuilder.js, line 92

Parameters: ​
NameTypeAttributesDescription
nodeProvider@ui5/project/graph/ProjectGraphBuilder~NodeProviderNode provider instance to use for building the graph
workspace@ui5/project/graph/WorkspaceoptionalOptional workspace instance to use for overriding project resolutions
Returns: ​

A new project graph instance

Type: @ui5/project/graph/ProjectGraph