We do not always check if vertice IDs in edges exist in vertices due to performance concerns. It would be nice to add those checks and provide a utility method to add those additional vertices to edges to fix graph consistency, or drop those edges. This could be done in two PRs: 1) check consistency, 2) fix consistency.
cc: @felixcheung @jkbradley @MrBago @bohanjason