What is an
Event-Flow Graph ?
A GUI component may be represented using an Event-Flow
Graph. Intuitively, an Event-Flow Graph represents all possible
interactions amongst the events in a GUI component.
Figure 1. shows an Event-Flow Graph computed for
WordPad's Connect To Printer GUI Component. An Event is denoted by . A link
from one event to another means that the second event can be executed
after the first event. For example, after clicking on the FILE
MENU EVENT,
the OPEN MENU EVENT
can be executed. In a typical GUI component, there is a high connectivity
between GUI events.
An Event-Flow Graph contains all events that may be
accessed at a given point of time. When MODELESS
GUI components are active, their GUI events may be accessed at the same
time as their MODAL
parent GUI component. Hence an Event-Flow Graph always contains events for
a MODAL
GUI component along with all of its child MODELESS
GUI components.
The Event-Flow Graph shows events belonging to different
GUI components in different colours.
|