From 149db22fe8a8426aec6e0a6bfb8eeef1b94a4373 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20M=C3=BCller?= Date: Sat, 25 Oct 2025 00:57:02 +0200 Subject: [PATCH] Add todo --- src/models.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/models.rs b/src/models.rs index 4b6148d..8de20af 100644 --- a/src/models.rs +++ b/src/models.rs @@ -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: 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 iterator of edges. pub struct Graph {