return _Graph->RemoveNode( NodeName ) ; } ;
bool ReNameNode( const char* OldNodeName ,
const char* NewNodeName ) {
- DateModification() ;
- _Valid = false ;
- return _Graph->ReNameNode( OldNodeName , NewNodeName ) ; } ;
+//PAL9048 JR Debug : a node may not have the same name as the graph
+ if ( strcmp( Graph()->Name() , NewNodeName ) ) {
+ DateModification() ;
+ _Valid = false ;
+ return _Graph->ReNameNode( OldNodeName , NewNodeName ) ;
+ }
+ cdebug << "Editor::OutNode::ReNameNode ERROR " << NewNodeName << " already exists"
+ << endl ;
+ return false ; } ;
void Coordinates( const int X , const int Y ) {
return _Graph->Coordinates( X , Y ) ; } ;