]> Creatis software - cpPlugins.git/blobdiff - lib/cpExtensions/DataStructures/Graph.h
More on graph editor
[cpPlugins.git] / lib / cpExtensions / DataStructures / Graph.h
index 5fb2707f5def3e5257054285d6805d59acd9e63f..b11b7031891437142ee70ce33dd3665dc872b3b4 100644 (file)
@@ -51,7 +51,8 @@ namespace cpExtensions
       void Clear( );
 
       bool HasVertexIndex( const I& index ) const;
-      void InsertVertex( const I& index, V& vertex );
+      void SetVertex( const I& index, V& vertex );
+      bool RenameVertex( const I& old_index, const I& new_index );
       V& GetVertex( const I& index );
       const V& GetVertex( const I& index ) const;