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:
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
nodeProvider |
@ui5/project/graph/ProjectGraphBuilder~NodeProvider | Node provider instance to use for building the graph | |
workspace |
@ui5/project/graph/Workspace |
<optional> |
Optional workspace instance to use for overriding project resolutions |
Returns:
A new project graph instance