replace GraphIndicator subtypes with factory functions