graphml 0.1.1

Streaming GraphML parser producing owned property-graph nodes and edges, with optional Tokio async reading
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! The parsed record of one completed element.

use crate::types::{
    Edge,
    Node,
};

/// One completed `<node>` or `<edge>`.
#[derive(Debug, Clone, PartialEq, Eq)]
pub enum GraphmlRecord {
    /// A completed `<node>`.
    Node(Node),
    /// A completed `<edge>`.
    Edge(Edge),
}