Parts of a graph