add graph of words