graph of terms