A visual language for querying and updating graphs