Selection and editing in graphs

Please add the functionality of selection and editing in graphs. In particular, mass deletion.

Please, striclty follow the template for proposing new features.