Changed graph::Vertex and graph::Edge to be public to simplify Graph usage
This commit is contained in:
+2
-2
@@ -3,9 +3,9 @@ use typed_generational_arena::{Arena, Index};
|
||||
use crate::maps::{EdgeMap, VertexMap};
|
||||
use crate::traits::{GraphTopology, GraphTopologyDeletion, IncidenceCursor};
|
||||
|
||||
type Vertex = Index<VertexIncidenceHeader, usize, usize>;
|
||||
pub type Vertex = Index<VertexIncidenceHeader, usize, usize>;
|
||||
|
||||
type Edge = Index<IncidenceEntry, usize, usize>;
|
||||
pub type Edge = Index<IncidenceEntry, usize, usize>;
|
||||
|
||||
#[derive(Copy, Clone, PartialEq, Eq, Debug)]
|
||||
struct VertexSlot(usize);
|
||||
|
||||
Reference in New Issue
Block a user