Simantics/Rename module documentation
renameNode :: Resource -> String -> <WriteGraph> String 
renameNode resource newName
 
Renames the given resource with the given newName and returns
string 
Example: 
> renameNode resource "NewName"
"Successfully renamed oldName to NewName"
 
or error if failed 
  
renameMBNode :: Resource -> String -> <WriteGraph> String 
renameMBNode entity newName
 
Renames the given entity with the given newName and returns
string 
Example: 
> renameMBNode entity "NewName"
"Successfully renamed oldName to NewName"
 
or error if failed 
  
Didn't find the value 'findFreshName'.
 
getSafeName :: Resource -> <ReadGraph> String 
getSafeName resource
 
Gets safe name for the given resource and returns the name 
Example: 
name = getSafeName (toResource model)
 
  
Undocumented entities
 |