#[no_mangle]
pub extern "C" fn sg_stack_graph_add_edges(
graph: *mut sg_stack_graph,
count: usize,
edges: *const sg_edge,
)
Expand description
Adds new edges to the stack graph. You provide an array of struct sg_edges
instances. A
stack graph can contain at most one edge between any two nodes. It is not an error if you try
to add an edge that already exists, but it won’t have any effect on the graph.