It would be useful to be able to replace instances of one entity name with another on occasions. For example, in my loanable funds model I have debt being recorded in DebtPtoI. I want to change that in a few keystrokes to an endogenous money model, in which debt is debt to the bank and is called Loans. At present I have to look around the canvas for instances of DebtPtoI, delete them, put in Loans instead, and wire it up.
This should not be a global replacement but a "one at a time" (or as is usual, have the option of "replace this instance?" and "replace all?" in the replace box).
There should also be a "find definition" option to locate where a variable is defined, since the models are going to get a lot more complicated as time goes on.
Anonymous
I've implemented a "select all instances" and "rename all instances" operation. The reason I didn't go for the query-replace option is not just the complexity of what is required, it also needs indicating on the canvas which variable is the current focus. I think it is just as useful to (say) rename all instance, then do select all instances and decide by inspection which ones require replacing.