Graphics Reference
In-Depth Information
•
visible
•
labelvisible
•
width
•
height
•
x
•
y
•
color
Other software (for example, GUESS) supports additional attributes
such as
shape
and
image
.
Tip
If the nodes contain geographic attributes and if the longitude and
latitude data corresponding to each node is available, then the
longitude and latitude can be put into x and y columns in order to plot
the data geographically.
•
Data types
—Each column is indicated with a title, just as with a CSV
file. In addition, the final text for each column indicates the data type.
This helps the graph software understand if the column should be
interpreted as text or as a numeric value. This is important for defining
other visual attributes, such as colors and sizes, and interactive features
such as filtering. Following are some common data types:
•
VARCHAR
—
VARCHAR
stands for VARiable CHARacter field. It
defines a field as a text field. Node and link ID fields are typically
VARCHAR
, as are fields for labels or other text. Color could also be
defined as
VARCHAR
, whether defined as a name (for example,
'orange'
) or as an RGB value (for example,
'255,127,0'
).
•
DOUBLE
—Use
DOUBLE
for numerical values, such as node size, edge
width, population, average age, and so on.
•
BOOLEAN
—Use this for an attribute such as
Visible
. A boolean
column can only have fields set to either
TRUE
or
FALSE
.