Subgraph

| Short Description |
| Ports |
| Subgraph Attributes |
| Details |
| See also |
Short Description
The Subgraph component represents a whole subgraph in parent graph.
| Component | Same input metadata | Sorted inputs | Inputs | Outputs | Each to all outputs | Java | CTL | Auto-propagated metadata |
|---|---|---|---|---|---|---|---|---|
| Subgraph | – | ⨯ | 0-n | 0–n | ⨯ | – | – | [1] |
[1] The component Subgraph can propagate metadata through itself or auto-propagate metadata on its ports. The metadata auto-propagation depends on metadata assigned on edges in the subgraph. | ||||||||
Ports
| Port type | Number | Required | Description | Metadata |
|---|---|---|---|---|
| Input | 0-n | [1] | Input of Subgraph | Depends on Subgraph |
| Output | 0-n | [2] | Output of Subgraph | Depends on Subgraph |
[1] All input ports defined by the SubgraphInput component in corresponding subgraph are required. [2] All output ports defined by the SubgraphOutput component in corresponding subgraph are required. | ||||
Metadata
The component Subgraph can propagate metadata through itself or auto-propagate metadata on its ports.
The metadata auto-propagation depends on metadata assigned on edges in the subgraph.
Subgraph Attributes
| Attribute | Req | Description | Possible values |
|---|---|---|---|
| Subgraph | |||
| Input mapping | no | Enables to set up input parameters and dictionaries of subgraph. | |
| Output mapping | no | Enables to set up mapping from dictionaries in a subgraph to dictionaries in a parent graph. | |
| Skip checkConfig | no | Enable to skip checkConfig of subgraph. | Inherited from parent job (default) | true | false |
| Subgraph URL | yes | URL of file with subgraph definition. | E.g. ${SUBGRAPH_DIR}/my-subgraph.sgrf |
Details
Subgraph serves for launching subgraphs from a graph. The subgraph functionality is user defined and depends on particular subgraph being used.
For more details about the subgraphs see Part VI, Subgraphs.
![]() | Tip |
|---|---|
Use the Ctrl+ shortcut to instantly open the subgraph. |
![[Tip]](../figures/tip.png)