added function graph base class