graph: add buttons to hide (and deselect) and show hidden nodes or edges.