Motif is composed of many different widgets such as buttons, sliders, and menus. Conceptually, XRT/graph adds a new widget to Motif. The graph widget displays data graphically in a window and can interact with a user. The graph widget has resources that determine how the graph will look and behave. Writing programs using XRT/graph is similar to writing any other kind of Motif program; but now you have one more Motif widget to work with.