Navigation
API > API/Plugins > API/Plugins/MetasoundGraphCore > API/Plugins/MetasoundGraphCore/FGraph > API/Plugins/MetasoundGraphCore/FGraph/AddDataEdge
References
| Module | MetasoundGraphCore |
| Header | /Engine/Plugins/Runtime/Metasound/Source/MetasoundGraphCore/Public/MetasoundGraph.h |
| Include | #include "MetasoundGraph.h" |
| Source | /Engine/Plugins/Runtime/Metasound/Source/MetasoundGraphCore/Private/MetasoundGraph.cpp |
bool AddDataEdge
(
const INode & FromNode,
const FVertexName & FromVertexKey,
const INode & ToNode,
const FVertexName & ToVertexKey
)
Remarks
Add an edge to the graph, connecting two vertices from two nodes. True if the edge was successfully added. False otherwise.
Parameters
| Name | Description |
|---|---|
| FromNode | Node which contains the output vertex. |
| FromVertexKey | Key of the vertex in the FromNode. |
| ToNode | Node which contains the input vertex. |
| ToVertexKey | Key of the vertex in the ToNode. |