@ui5/project/graph
Helper module to create a @ui5/project/graph/ProjectGraph from a directory
Description: Helper module to create a @ui5/project/graph/ProjectGraph from a directory
Source: project/lib/graph/graph.js, line 8
Methods
Description: Generates a @ui5/project/graph/ProjectGraph from the given dependencyTree following the structure of @ui5/project/graph/providers/DependencyTree~TreeNode
Source: project/lib/graph/graph.js, line 159
Parameters:
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options | object | Properties:
|
Returns:
Promise resolving to a Project Graph instance
Type: Promise<@ui5/project/graph/ProjectGraph>
Description: Generates a @ui5/project/graph/ProjectGraph by resolving dependencies from package.json files and configuring projects from ui5.yaml files
Source: project/lib/graph/graph.js, line 43
Parameters:
| Name | Type | Attributes | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options | object | optional | Properties:
|
Returns:
Promise resolving to a Project Graph instance
Type: Promise<@ui5/project/graph/ProjectGraph>
Description: Generates a @ui5/project/graph/ProjectGraph from a YAML file following the structure of @ui5/project/graph/providers/DependencyTree~TreeNode.
Documentation: Static Dependency Definition
Source: project/lib/graph/graph.js, line 107
Parameters:
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options | object | Properties:
|
Returns:
Promise resolving to a Project Graph instance
Type: Promise<@ui5/project/graph/ProjectGraph>

