Function graphannis_capi::update::annis_graphupdate_delete_edge[][src]

#[no_mangle]
pub extern "C" fn annis_graphupdate_delete_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 “delete edge” action to the graph update object.

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