I think archi-lab package has a Element.delete node.
Don’t know how to do the other things you want to do