changed GraphDescription to a namedtuple