use petgraph::stable_graph::StableDiGraph;
mod byte_node;
pub mod gltf;
pub mod glxf;
mod graph_node;
mod property;
pub use byte_node::ByteNode;
pub use graph_node::{GraphNodeEdges, GraphNodeWeight};
pub use petgraph::stable_graph::NodeIndex;
pub use property::Property;
use self::{
gltf::{GltfEdge, GltfWeight},
glxf::{GlxfEdge, GlxfWeight},
};
#[derive(Clone, Debug)]
pub enum Weight {
Bytes(Vec<u8>),
Gltf(GltfWeight),
Glxf(GlxfWeight),
}
#[derive(Clone, Debug)]
pub enum Edge {
Extension(&'static str),
Gltf(GltfEdge),
Glxf(GlxfEdge),
Other(&'static str),
}
pub type Graph = StableDiGraph<Weight, Edge>;