laid out basics of GraphActivity