Sometimes, the giant component of a network may not contain both specified node types. Currently, this results in an error saying the type is not in the type map, which is false. This change specifically checks for this scenario and gives a corresponding error message.
Sometimes, the giant component of a network may not contain both specified node types. Currently, this results in an error saying the type is not in the type map, which is false. This change specifically checks for this scenario and gives a corresponding error message.