Add graphs to fragments.