Function traitgraph::implementation::petgraph_impl::new[][src]

pub fn new<'node_data: 'result, 'result, NodeData: 'node_data + Clone + Debug, EdgeData: 'static + Clone + Debug>(
) -> impl 'result + DynamicGraph<NodeData = NodeData, EdgeData = EdgeData> + Default + Clone + Debug
Expand description

Create a new graph implemented using the petgraph::graph::Graph type.