debug view
refactored removal of nodes into a command
debug view
refactored removal of edges into a command