refactor: GraphConstructionException