Add documentation for Graph and AppendGraph EntityMap types

This commit is contained in:
2026-07-24 10:13:15 +02:00
parent 3708c1e0d1
commit 399b36bb16
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -6,7 +6,10 @@ use crate::traits::{GraphTopology, GraphTopologyDeletion, IncidenceCursor};
pub type Vertex = Index<VertexIncidenceHeader, usize, usize>;
pub type Edge = Index<IncidenceEntry, usize, usize>;
/// An [`EntityMap`] for [`Graph`] vertices.
pub type GraphVertexMap<T> = EntityMap<Vertex, T>;
/// An [`EntityMap`] for [`Graph`] edges.
pub type GraphEdgeMap<T> = EntityMap<Edge, T>;
#[derive(Copy, Clone, PartialEq, Eq, Debug)]