AddDataEdge

Description

Adds a data edge.

Prototype

graphStatus AddDataEdge(GNode &src_node, const int32_t src_port_index, GNode &dst_node, const int32_t dst_port_index);

Restrictions

None

Parameters

Parameter

Input/Output

Description

src_node

Input

Source node of the edge.

src_port_index

Input

Output port index of the source node.

dst_node

Input

Destination node of the edge.

dst_port_index

Input

Input port index of the destination node.

Returns

Parameter

Type

Description

-

graphStatus

GRAPH_SUCCESS(0) on success;

else, failure.