added graph with example in gui