1
Student Name: __________________
Class and Section __________________
Total Points (20 pts) __________________
Due: April 12, 2010 before the class
Project: Graph Visualization Learning Tool
CSCI 2410 Data Structures and Algorithms
Armstrong Atlantic State University
Problem Description:
Develop an applet as shown in the following figure.
Requirements:
(1) The radius of each vertex is 20 pixels.
(2) The user clicks the left-mouse button to place a vertex centered at the mouse
point provided that the mouse point is not inside or too close to an existing vertex.
(3) The user clicks the right-mouse button inside an existing vertex to remove the
vertex.
(4) The user presses a mouse button inside a vertex and drags to another vertex
and then releases the button to create an edge.
What to submit?
2
1. Compile and Submit to LiveLab (you must submit the program regardless whether it
complete or incomplete, correct or incorrect)
2. Fill in self-evaluation:
1. Can your program display the GUI? _______________
2. Can your program create vertices? _______________
3. Can your program connect vertices? _______________
4. Can your program remove vertices? _______________