Function graphannis_capi::update::annis_graphupdate_add_edge[][src]

#[no_mangle]
pub extern "C" fn annis_graphupdate_add_edge(
    ptr: *mut GraphUpdate,
    source_node: *const c_char,
    target_node: *const c_char,
    layer: *const c_char,
    component_type: *const c_char,
    component_name: *const c_char,
    err: *mut *mut ErrorList
)
Expand description

Add “add edge” action to the graph update object.

  • ptr - The graph update object.
  • source_node - Name of source node of the new edge.
  • target_node - Name of target node of the new edge.
  • layer - Layer of the new edge.
  • component_type - Type of the component of the new edge.
  • component_name - Name of the component of the new edge.
  • err - Pointer to a list of errors. If any error occurred, this list will be non-empty.