Skip to main content

import

Function import 

Source
pub fn import<CT: ComponentType, R: Read, F>(
    input: R,
    disk_based: bool,
    progress_callback: F,
) -> Result<(Graph<CT>, Option<String>)>
where F: Fn(&str),
Expand description

Import a single GraphML-file as an annotation Graph.

ยงReturns

A tuple of the graph itself and an optional corpus configuration as string.