@classmethod
def getGraphClass(cls, name):
    """return a graph class by its name"""
    try:
        return cls.graphClasses[name]
    except KeyError:
        raise KeyError("There's no child of Graph by the name of: %s" % name)
