This commit is contained in:
2025-10-25 00:57:02 +02:00
parent 761920b2c0
commit 149db22fe8
+2 -1
View File
@@ -28,9 +28,10 @@ impl<'a> Iterator for VertexNeighborIterator<'a> {
} }
} }
// TODO: Graph cannot support deleting vertices because of the external indices "Vertex". They could be made stable with e.g. slotmap or generational arena.
// TODO: Graph fields must not be public. // TODO: Graph fields must not be public.
// TODO: Add functions to reserve memory for vertices and edges. // TODO: Add functions to reserve memory for vertices and edges.
// TODO: Graph cannot support deleting vertices because of the external indices "Vertex". They could be made stable with e.g. slotmap or generational arena.
// TODO: Add function to delete vertices.
// TODO: Add function to delete edges. // TODO: Add function to delete edges.
// TODO: Add iterator of edges. // TODO: Add iterator of edges.
pub struct Graph { pub struct Graph {