Robustness of edge states in graphene quantum dots