ui for graph