Trait meshed::graph::GraphDefinition
source · [−]pub trait GraphDefinition {
type Id: Identity;
type Label: Display + Clone;
type EdgeMeta;
type NodeData: 'static;
fn build_graph<V, Q>(source: &Q) -> ConcreteGraph<Self>
where
Q: Query<Self::Id, V>,
V: Identifiable<Self::Id> + Edges<Self::Id, Self::EdgeMeta> + ExtractData<Self::NodeData> + Label<Label = Self::Label>,
Self: Sized,
{ ... }
}