Add todo
This commit is contained in:
+2
-1
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user