soniaGraphicsSettings {rSoNIA} | R Documentation |
Sonia Graphics Settings parameters
Description
Parameter settings object that controls graphic details of how network graphics
will be renderd
Usage
data(soniaGraphicsSettings)
Format
Property name with key and value strings.
- settings.class
- "SettingsClass" "sonia.settings.GraphicsSettings"
- arc.trans
- "arc transparency" "0.5"
- show.stats
- "show stats" "true"
- anti.alias
- "AntiAlias graphics" "true"
- arrow.style
- "arrow style" "none"
- arc.width.fact
- "arc width factor" "0.5"
- arc.labels
- "arc labels" "none"
- ghost.slice
- "ghost previous slice" "false"
- layout.height
- "layout height" "350"
- hide.arcs
- "hide arcs" "none"
- hide.nodes
- "hide nodes" "none"
- node.trans
- "node transparency" "0.5"
- layout.width
- "layout width" "500"
- node.label.cutoff
- "node label cutoff" "0"
- node.labels
- "show node labels" "labels"
- node.scale.fact
- "node scale factor" "0.5"
- flash.event.dur
- "flash new events" "0"
- attr(*, "class")= chr "sonia.settings"
Details
SoNIA reads its control paramters as sets of grouped key=value pairs that are
included in a batch file or passed in from the command line. Objects of class
sonia.settings
are used to store the values in R so they can be configured if
needed. Do not modify the key (first value) or SoNIA will not recognize the
parameter. The value will either be a numeric string or one of a set of options
givin here or in the SoNIA documentation.
settings.class
- gives the name of this parameter group. DO NOT CHANGE
arc.trans
- value from 0 to 1 specifing transparency (actually opacity) of arcs
show.stats
- if "true", the slice number and slice timing will be drawn in
upper left corner of animation
anti.alias
- if "true" graphics will be smoothed using anti aliasing, only
slightly slower, probably allways leave it on.
arrow.style
- value "none" or "arrow at end", but is overidden by
usearrows
option of launchSonia
arc.width.factor
- multiplicative scaling factor for enlarging or reducing drawn arc widths
arc.labels
- values "none" = no labels, "arc labels" = show labels
(not currently suppolrted by parser), "layout weights" = show the aggregate value
used in the layout algorithm, useful for debugging.
ghost.slice
- if true, draws a greyed-out version of the previous slice
during transitions, useful for debugging node movement (not supported by swf)
layout.height
- height of layout draw area in pixels
layout.width
- width of layout draw area in pixels
hide.arcs
- if "all", no arcs will be drawn on layout
hide.nodes
- if "all", no nodes will be drawn
node.trans
- value from 0 to 1 specifing transparency (actually opacity)
of nodes and labels
node.label.cutoff
- nodes with sizes below this value will be drawn without
labels, adjusting it upwards is helpful for visual simplifying complicated graphs
node.labels
- "none", "labels" "IDs", but is overridden by
displaylabels
option of launchSonia
node.scale.fact
- multiplicative scaling factor for enlarging or reducing
drawn node sizes
flash.event.dur
- if > 0, a yellow hilite with specified duration will be
drawn around new arc and node events to draw viewers attention. Tricky to get
right, not supported in swf.
Source
see javadoc for SoNIA at http://sonia.stanford.edu/
References
Bender-deMoll, S and McFarland, D.A. (2006) 'The Art and Science of Dynamic Network Visualization' Journal of Social Structure. Volume 7, Number 2. http://www.cmu.edu/joss/content/articles/volume7/deMollMcFarland
Examples
data(soniaGraphicsSettings)
# change the height of the layout
soniaGraphicsSettings$layout.height[2]<-500;
[Package
rSoNIA version 0.0-4
Index]