renamed GraphInterface to GraphBase