add graph widget