gravity diagram