Lesson 2: Elements
Elements are on-screen representations of underlying
concepts in the data set. Concepts are essentially attribute/value
pairs (e.g., "quantity"/1000).
Elements can have a different look depending on what
frame it is viewed in. For example, an element representing a
city looks like a text label in the Outliner frame, but on the
map it looks like a landmark, showing the element in terms of
its logitude and latitude.
This is referred to as polymorphism. The element's
appearance is determined by the frame in which it appears. Visage
displays the appropriate element attributes for the various types
of displays (e.g., map, plot, outliner).
Typically, elements in Visage are part of domain-specific
databases. For purposes of this tutorial, we have connected to
a generic "cities" database distributed with the Visage
executable. You can begin accessing the database by dragging the
DB Root data element from the bottom of the Tools frame
to the Visage desktop or to another Visage frame. ![]() Moving
Data elements can be dragged from one location to
another.
![]()
![]()
Copying
Moving elements in Visage is useful, but the real
power lies in being able to copy data elements in order to view
the same information in different frames. To copy an element,
hold down the Shift key while dragging an element, and instead
of moving the element, the element will be copied.
![]() Notice that as you shift-drag, a second element appears on screen that you can move where you wish. You can also move it to the same Outliner, in which case you would have two elements representing the cities data set in the same Outliner. This is perfectly acceptable in Visage.
Notice that in this case, the element retains its
appearance from the Outliner frame; contrast this with dragging
the DB Root element (which is the same concept) to the workspace.
Selecting Elements
In Visage, multiple representations of the same data
element can be copied to different frames to simultaneously show
different views of the data. A powerful feature of Visage is that
if there are multiple instances of a data element represented
on screen, when one is selected the others are automatically selected
as well.
![]() By clicking on the color chips, you are defining the selection color. The chosen selection color is identified by a narrow black border around the color chip.
Summary
Visage elements represent data concepts-collections
of attribute/value pairs that can be viewed and manipulated through
Visage. Elements can be created, moved, copied and selected.
| |
| < Previous | Next > |
|
© 1997, MAYA Design Group. Last updated 9 May 1997. | |