simple graph base